diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-06-03 13:32:48 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-06-03 13:32:48 -0400 |
commit | f06324280ae0e91cc08c66d0bbd4a0bff3c4436b (patch) | |
tree | 1b7e52e64404c1ce8bacae112b55f0bc03812cb3 | |
parent | bb7f7327fea85d73e13950e83e5e39d57f7488df (diff) | |
parent | 21dcb932a7ddb9fff116debfcbaf48358b814964 (diff) | |
download | cpython-git-f06324280ae0e91cc08c66d0bbd4a0bff3c4436b.tar.gz |
Merge: #22797: clarify when URLErrors are raised by urlopen.
-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 688f1493c4..ac8da26c83 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 |