From: Raymond Hettinger Date: Tue, 2 Sep 2003 02:32:54 +0000 (+0000) Subject: SF patch #798255: Document httplib.HTTPResponse.read "amt" argument X-Git-Tag: v2.4a1~1666 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09c7b6075cf51d5438c76a19ad244b663d4cf048;p=python 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 59e6428d36..50b4cf2193 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}}