[Python-checkins] r82334 - python/trunk/Doc/library/urllib2.rst

senthil.kumaran python-checkins at python.org
Mon Jun 28 19:07:40 CEST 2010


Author: senthil.kumaran
Date: Mon Jun 28 19:07:40 2010
New Revision: 82334

Log:
Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.



Modified:
   python/trunk/Doc/library/urllib2.rst

Modified: python/trunk/Doc/library/urllib2.rst
==============================================================================
--- python/trunk/Doc/library/urllib2.rst	(original)
+++ python/trunk/Doc/library/urllib2.rst	Mon Jun 28 19:07:40 2010
@@ -43,8 +43,8 @@
    * :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.


More information about the Python-checkins mailing list