]> granicus.if.org Git - python/commitdiff
SF patch #798255: Document httplib.HTTPResponse.read "amt" argument
authorRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:32:54 +0000 (02:32 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 2 Sep 2003 02:32:54 +0000 (02:32 +0000)
(Contributed by Jeff Epler.)

Doc/lib/libhttplib.tex

index 59e6428d36a48f370d2637759434d68169cd37e9..50b4cf2193f0731e1848965239eb12f789e8e466 100644 (file)
@@ -197,8 +197,8 @@ Send a blank line to the server, signalling the end of the headers.
 
 \class{HTTPResponse} instances have the following methods and attributes:
 
-\begin{methoddesc}{read}{}
-Reads and returns the response body.
+\begin{methoddesc}{read}{\optional{amt}}
+Reads and returns the response body, or up to the next \var{amt} bytes.
 \end{methoddesc}
 
 \begin{methoddesc}{getheader}{name\optional{, default}}