]> granicus.if.org Git - python/commitdiff
Merged revisions 82336 via svnmerge from
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 28 Jun 2010 17:35:17 +0000 (17:35 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 28 Jun 2010 17:35:17 +0000 (17:35 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r82336 | senthil.kumaran | 2010-06-28 23:01:40 +0530 (Mon, 28 Jun 2010) | 9 lines

  Merged revisions 82334 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r82334 | senthil.kumaran | 2010-06-28 22:37:40 +0530 (Mon, 28 Jun 2010) | 3 lines

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

Doc/library/urllib.request.rst

index d153384cc541cecc077a07ba589136806b8f3635..64e0c2a2bdd374891dc9ca577fa1f9eb170e086f 100644 (file)
@@ -40,8 +40,8 @@ The :mod:`urllib.request` module defines the following functions:
      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 :class:`http.client.HTTPMessage` instance (see `Quick
-     Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_)
+     in the form of an :func:`email.message_from_string` instance (see
+     `Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_)
 
    Raises :exc:`URLError` on errors.