diff options
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index cd90a80..887e737 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -212,7 +212,7 @@ The following classes are provided: :attr:`~Request.method` attribute and is used by :meth:`get_method()`. .. versionchanged:: 3.3 - :attr:`Request.method` argument is added to the Request class. + :attr:`Request.method` argument is added to the Request class. .. class:: OpenerDirector() @@ -967,10 +967,9 @@ FileHandler Objects Open the file locally, if there is no host name, or the host name is ``'localhost'``. - This method is applicable only for local hostnames. When a remote hostname - is given, an :exc:`URLError` is raised. - -.. versionchanged:: 3.2 + .. versionchanged:: 3.2 + This method is applicable only for local hostnames. When a remote + hostname is given, an :exc:`URLError` is raised. .. _ftp-handler-objects: |