Kaydet (Commit) 8c996ef4 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Documentation correction. urllib2.urlopen.info returns a mimetools.Message…

Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.
üst d6a8e6d2
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment