summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-04-16 12:32:13 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-04-16 12:32:13 (GMT)
commit219cc776f6420c9cc9c3c5e96960d25fc42546a3 (patch)
treeb2986549075584bbc46690fab655144a5cc7cbc4 /Doc
parent7bba683d27a82856f93f72370f273025579d3a13 (diff)
downloadcpython-219cc776f6420c9cc9c3c5e96960d25fc42546a3.zip
cpython-219cc776f6420c9cc9c3c5e96960d25fc42546a3.tar.gz
cpython-219cc776f6420c9cc9c3c5e96960d25fc42546a3.tar.bz2
Issue #11855: Apply missing formatting for urlretrieve
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index b4a7f28..3ba2c15 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -120,15 +120,15 @@ The :mod:`urllib.request` module defines the following functions:
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.
.. function:: urlcleanup()