From: Georg Brandl Date: Sun, 6 Oct 2013 10:42:18 +0000 (+0200) Subject: Fix minor bug in httplib example. Found by Alex MacAulay on docs@. X-Git-Tag: v3.4.0a4~245^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d277a56af36ee4bd259589e1e1b2b770a1163a4c;p=thirdparty%2FPython%2Fcpython.git Fix minor bug in httplib example. Found by Alex MacAulay on docs@. --- diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 8137573aa8b1..6931fc6a7ffb 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: