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: v2.7.6rc1~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6896507da2ef9d58862d9929c4839c6d890353f;p=thirdparty%2FPython%2Fcpython.git Fix minor bug in httplib example. Found by Alex MacAulay on docs@. --- diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst index 472fa61e13dd..fcdfbc015d45 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