diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 10:42:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 10:42:18 (GMT) |
commit | d277a56af36ee4bd259589e1e1b2b770a1163a4c (patch) | |
tree | 2586f5067c55065b24b7c0cc752f39b996a3d76a /Doc | |
parent | 3c1271142d7f8d16cea85e68460d1cbdc3581d05 (diff) | |
download | cpython-d277a56af36ee4bd259589e1e1b2b770a1163a4c.zip cpython-d277a56af36ee4bd259589e1e1b2b770a1163a4c.tar.gz cpython-d277a56af36ee4bd259589e1e1b2b770a1163a4c.tar.bz2 |
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/http.client.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 8137573..6931fc6 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: |