diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-04-16 15:28:42 +0300 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-04-16 15:28:42 +0300 |
commit | ad72bb1aa8cab3003d8c89840509d9fad71a211c (patch) | |
tree | 1d6e320e4a8aafd7a754413a4ad68b52a45495ad | |
parent | df453fbb5fe24ae2e0141f4d7e568696457ffe4d (diff) | |
download | cpython-git-ad72bb1aa8cab3003d8c89840509d9fad71a211c.tar.gz |
Issue #11855: Apply missing formatting for urlretrieve
-rw-r--r-- | Doc/library/urllib.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 9a6febceaa..7f97673eb8 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -167,15 +167,15 @@ High-level interface 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 |