#22797: clarify when URLErrors are raised by urlopen.

This commit is contained in:
R David Murray 2016-06-03 13:29:17 -04:00
parent fde75ae020
commit 21dcb932a7
1 changed files with 1 additions and 1 deletions

View File

@ -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