diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-06-03 17:29:17 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-06-03 17:29:17 (GMT) |
commit | 21dcb932a7ddb9fff116debfcbaf48358b814964 (patch) | |
tree | 58887f9139062b9404b2ae21c3d1ed69c1762cf3 /Doc/library/urllib.request.rst | |
parent | fde75ae020ec73917aa0ce8c1dfa9768ecbdf364 (diff) | |
download | cpython-21dcb932a7ddb9fff116debfcbaf48358b814964.zip cpython-21dcb932a7ddb9fff116debfcbaf48358b814964.tar.gz cpython-21dcb932a7ddb9fff116debfcbaf48358b814964.tar.bz2 |
#22797: clarify when URLErrors are raised by urlopen.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 688f149..ac8da26 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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 |