Commit 21dcb932 authored by R David Murray's avatar R David Murray

#22797: clarify when URLErrors are raised by urlopen.

parent fde75ae0
......@@ -83,7 +83,7 @@ The :mod:`urllib.request` module defines the following functions:
:class:`URLopener` and :class:`FancyURLopener` classes, this function
returns a :class:`urllib.response.addinfourl` object.
Raises :exc:`~urllib.error.URLError` on errors.
Raises :exc:`~urllib.error.URLError` on protocol errors.
Note that ``None`` may be returned if no handler handles the request (though
the default installed global :class:`OpenerDirector` uses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment