From d6896507da2ef9d58862d9929c4839c6d890353f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 6 Oct 2013 12:42:18 +0200 Subject: [PATCH] Fix minor bug in httplib example. Found by Alex MacAulay on docs@. --- Doc/library/httplib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst index 472fa61e13..fcdfbc015d 100644 --- a/Doc/library/httplib.rst +++ b/Doc/library/httplib.rst @@ -626,6 +626,6 @@ be created via ``PUT`` request. Here is an example session that shows how to do >>> conn = httplib.HTTPConnection("localhost", 8080) >>> conn.request("PUT", "/file", BODY) >>> response = conn.getresponse() - >>> print resp.status, response.reason + >>> print response.status, response.reason 200, OK -- 2.50.1