From: Raymond Hettinger Date: Tue, 2 Sep 2003 02:34:12 +0000 (+0000) Subject: SF patch #798255: Document httplib.HTTPResponse.read "amt" argument X-Git-Tag: v2.3.1~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4278d70310a805f38ccde6b7690658a4ec38470a;p=thirdparty%2FPython%2Fcpython.git SF patch #798255: Document httplib.HTTPResponse.read "amt" argument (Contributed by Jeff Epler.) --- diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex index 59e6428d36a4..50b4cf2193f0 100644 --- a/Doc/lib/libhttplib.tex +++ b/Doc/lib/libhttplib.tex @@ -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}}