summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 10:42:40 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 10:42:40 (GMT)
commit92666d9c2b97381aa3d700a4b41291be348c3d33 (patch)
treebd402f4632e3362bfc050f5f0ff33c10c5958904 /Doc/library/http.client.rst
parent9ace9648e5b6462ca267e5ee987550b37d88bf45 (diff)
parentd277a56af36ee4bd259589e1e1b2b770a1163a4c (diff)
downloadcpython-92666d9c2b97381aa3d700a4b41291be348c3d33.zip
cpython-92666d9c2b97381aa3d700a4b41291be348c3d33.tar.gz
cpython-92666d9c2b97381aa3d700a4b41291be348c3d33.tar.bz2
merge with 3.3
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 0fad566..f96ecc2 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -649,7 +649,7 @@ request using http.client::
>>> conn = http.client.HTTPConnection("localhost", 8080)
>>> conn.request("PUT", "/file", BODY)
>>> response = conn.getresponse()
- >>> print(resp.status, response.reason)
+ >>> print(response.status, response.reason)
200, OK
.. _httpmessage-objects: