From d277a56af36ee4bd259589e1e1b2b770a1163a4c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 6 Oct 2013 12:42:18 +0200 Subject: Fix minor bug in httplib example. Found by Alex MacAulay on docs@. --- Doc/library/http.client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12