summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-09-02 02:32:54 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-09-02 02:32:54 (GMT)
commit09c7b6075cf51d5438c76a19ad244b663d4cf048 (patch)
tree788c95d48fa1b698c21236c0807a5f39cc02ebfc
parent3b9cff1ef5586725a36ac30d2ea1c27addf174a3 (diff)
downloadcpython-09c7b6075cf51d5438c76a19ad244b663d4cf048.zip
cpython-09c7b6075cf51d5438c76a19ad244b663d4cf048.tar.gz
cpython-09c7b6075cf51d5438c76a19ad244b663d4cf048.tar.bz2
SF patch #798255: Document httplib.HTTPResponse.read "amt" argument
(Contributed by Jeff Epler.)
-rw-r--r--Doc/lib/libhttplib.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 59e6428..50b4cf2 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}}