[Python-checkins] cpython (2.7): Issue #11855: Apply missing formatting for urlretrieve
eli.bendersky
python-checkins at python.org
Sat Apr 16 14:10:54 CEST 2011
http://hg.python.org/cpython/rev/d3e0bc155ca2
changeset: 69388:d3e0bc155ca2
branch: 2.7
user: Eli Bendersky <eliben at gmail.com>
date: Sat Apr 16 15:28:42 2011 +0300
summary:
Issue #11855: Apply missing formatting for urlretrieve
files:
Doc/library/urllib.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst
--- a/Doc/library/urllib.rst
+++ b/Doc/library/urllib.rst
@@ -167,15 +167,15 @@
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.
+ :func:`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.
- 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, :func:`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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list