commit | d6896507da2ef9d58862d9929c4839c6d890353f | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Oct 06 12:42:18 2013 +0200 |
committer | Georg Brandl <georg@python.org> | Sun Oct 06 12:42:18 2013 +0200 |
tree | 0fb8532e50a108198f1d8cebada2d9428a7eee86 | |
parent | 775ba9b424c73098793314bc7f7916fd985038e0 [diff] |
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 472fa61..fcdfbc0 100644 --- a/Doc/library/httplib.rst +++ b/Doc/library/httplib.rst
@@ -626,6 +626,6 @@ >>> 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