[docs] Bug in last httplib example in Python 2.7.5 docs in section 20.7.3
Alex MacAulay
alex.macaulay at gmail.com
Tue Jun 4 15:37:52 CEST 2013
On the following page in the Python 2.7.5 docs:
http://docs.python.org/2/library/httplib.html
In section 20.7.3, the last example has:
>>> response = conn.getresponse()>>> print resp.status, response.reason
However it should be:
>>> response = conn.getresponse()>>> print response.status, response.reason
Hope it helps!
Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130604/99e8ea1d/attachment-0001.html>
More information about the docs
mailing list