summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-06-24 20:48:30 (GMT)
committerGeorg Brandl <georg@python.org>2012-06-24 20:48:30 (GMT)
commit61063cca6abe36005f6e327358d533af8a56d33c (patch)
treeebd093befdd9a90317bd95efef9525b93ce43e62 /Doc/library/urllib.request.rst
parentf55100132288304b8e5d4798bbb7929a512e9b57 (diff)
downloadcpython-61063cca6abe36005f6e327358d533af8a56d33c.zip
cpython-61063cca6abe36005f6e327358d533af8a56d33c.tar.gz
cpython-61063cca6abe36005f6e327358d533af8a56d33c.tar.bz2
Fix a couple of versionadded/versionchanged related markup errors.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst9
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: