diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-28 17:07:40 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-28 17:07:40 (GMT) |
commit | 8c996ef45859108faf4fec8773f7810eb5782282 (patch) | |
tree | 62f5f687a1caa2a2dd3cc9dbd0c1f68a29ceef17 /Doc | |
parent | d6a8e6d23494b4f77748cb8aa0cd30e4a61f6140 (diff) | |
download | cpython-8c996ef45859108faf4fec8773f7810eb5782282.zip cpython-8c996ef45859108faf4fec8773f7810eb5782282.tar.gz cpython-8c996ef45859108faf4fec8773f7810eb5782282.tar.bz2 |
Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib2.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst index fb3383d..7fcce4f 100644 --- a/Doc/library/urllib2.rst +++ b/Doc/library/urllib2.rst @@ -43,8 +43,8 @@ The :mod:`urllib2` module defines the following functions: * :meth:`geturl` --- return the URL of the resource retrieved, commonly used to determine if a redirect was followed - * :meth:`info` --- return the meta-information of the page, such as headers, in - the form of an ``httplib.HTTPMessage`` instance + * :meth:`info` --- return the meta-information of the page, such as headers, + in the form of an :class:`mimetools.Message` instance (see `Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_) Raises :exc:`URLError` on errors. |