]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #11855: Apply missing formatting for urlretrieve
authorEli Bendersky <eliben@gmail.com>
Sat, 16 Apr 2011 12:28:42 +0000 (15:28 +0300)
committerEli Bendersky <eliben@gmail.com>
Sat, 16 Apr 2011 12:28:42 +0000 (15:28 +0300)
Doc/library/urllib.rst

index 9a6febceaab076bdf3d3bc3e78fc72f624bf67f6..7f97673eb8f11089fdf7ab6afc11446c61894fdc 100644 (file)
@@ -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