diff options
author | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 +0000 |
commit | af777708fcebf6a14796a4800ea19e1021e61068 (patch) | |
tree | fd864f51711f9a5ff563358c3dff5d3c664cddae /Doc/library/urllib.rst | |
parent | f2cb3aa6312edc205c9c155f114cacf58b8634f3 (diff) | |
download | cpython-af777708fcebf6a14796a4800ea19e1021e61068.tar.gz |
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/urllib.rst')
-rw-r--r-- | Doc/library/urllib.rst | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index ef8264f9e7..914351a411 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -106,9 +106,6 @@ It defines the following public functions: Proxies which require authentication for use are not currently supported; this is considered an implementation limitation. - .. versionchanged:: 2.3 - Added the *proxies* support. - .. function:: urlretrieve(url[, filename[, reporthook[, data]]]) @@ -135,22 +132,21 @@ It defines the following public functions: :mimetype:`application/x-www-form-urlencoded` format; see the :func:`urlencode` function below. - .. versionchanged:: 2.5 - :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that - the amount of data available was less than the expected amount (which is the - size reported by a *Content-Length* header). This can occur, for example, when - the download is interrupted. + :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that + the amount of data available was less than the expected amount (which is the + size reported by a *Content-Length* header). This can occur, for example, when + the download is interrupted. - The *Content-Length* is treated as a lower bound: if there's more data to read, - urlretrieve reads more data, but if less data is available, it raises the - exception. + The *Content-Length* is treated as a lower bound: if there's more data to read, + urlretrieve reads more data, but if less data is available, it raises the + exception. - You can still retrieve the downloaded data in this case, it is stored in the - :attr:`content` attribute of the exception instance. + You can still retrieve the downloaded data in this case, it is stored in the + :attr:`content` attribute of the exception instance. - If no *Content-Length* header was supplied, urlretrieve can not check the size - of the data it has downloaded, and just returns it. In this case you just have - to assume that the download was successful. + If no *Content-Length* header was supplied, urlretrieve can not check the size + of the data it has downloaded, and just returns it. In this case you just have + to assume that the download was successful. .. data:: _urlopener @@ -301,8 +297,6 @@ It defines the following public functions: *Content-Length* header). The :attr:`content` attribute stores the downloaded (and supposedly truncated) data. - .. versionadded:: 2.5 - Restrictions: .. index:: |