[docs] Bug in last httplib example in Python 2.7.5 docs in section 20.7.3

Georg Brandl georg at python.org
Sun Oct 6 12:43:01 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 04.06.2013 15:37, schrieb Alex MacAulay:
> 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

Hi Alex,

thanks for the report; this is now fixed and should appear online soon.

cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)

iEYEARECAAYFAlJRPrUACgkQN9GcIYhpnLCRLQCfWzduaPFBizKhYjWEbF6x8tLv
zW4AnA8A9aeGnjZPztjZUye/Y/ddm3Gg
=qfbo
-----END PGP SIGNATURE-----


More information about the docs mailing list