summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libhttplib.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-02 20:08:06 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-02 20:08:06 (GMT)
commit240ddc8a68ab3a35ed0e1bfe030debaa6bc7ecb6 (patch)
tree62781874aea7ce14b942d84e52bcc29034083a3c /Doc/lib/libhttplib.tex
parent80f8be8901c8c6591986408ef191574caf30c85c (diff)
downloadcpython-240ddc8a68ab3a35ed0e1bfe030debaa6bc7ecb6.zip
cpython-240ddc8a68ab3a35ed0e1bfe030debaa6bc7ecb6.tar.gz
cpython-240ddc8a68ab3a35ed0e1bfe030debaa6bc7ecb6.tar.bz2
Typo in example (missing '=') discovered by Sandy Langbart.
Diffstat (limited to 'Doc/lib/libhttplib.tex')
-rw-r--r--Doc/lib/libhttplib.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 7671ab3..ca5c673 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -122,7 +122,7 @@ Here is an example session:
>>> errcode, errmsg, headers = h.getreply()
>>> print errcode # Should be 200
>>> f = h.getfile()
->>> data f.read() # Get the raw HTML
+>>> data = f.read() # Get the raw HTML
>>> f.close()
>>>
\end{verbatim}\ecode