psuedo merge: #22797: clarify when URLErrors are raised by urlopen.
authorR David Murray <rdmurray@bitdance.com>
Fri, 3 Jun 2016 19:40:29 +0000 (15:40 -0400)
committerR David Murray <rdmurray@bitdance.com>
Fri, 3 Jun 2016 19:40:29 +0000 (15:40 -0400)
I'm not sure how my previous merge commit got screwed up, hopefully this
one will do the right thing.

Doc/library/urllib.request.rst

index 688f1493c470f4f563d477658969376672b8a67f..ac8da26c830a9522dbc9b13b99ec33ef677ddb23 100644 (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