From: Senthil Kumaran Date: Mon, 28 Jun 2010 17:07:40 +0000 (+0000) Subject: Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance... X-Git-Tag: v2.7~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c996ef45859108faf4fec8773f7810eb5782282;p=python Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object. --- diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst index fb3383dec9..7fcce4f791 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 `_) Raises :exc:`URLError` on errors.