From: Georg Brandl Date: Tue, 31 Mar 2009 22:18:19 +0000 (+0000) Subject: #3427: document correct return type for urlopen().info(). X-Git-Tag: v2.7a1~1660 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7715865e77a7516859710122b07bd0963936209;p=python #3427: document correct return type for urlopen().info(). --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 1d02b1cdd0..905c3245e0 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -49,7 +49,7 @@ High-level interface .. index:: module: mimetools The :meth:`info` method returns an instance of the class - :class:`mimetools.Message` containing meta-information associated with the + :class:`httplib.HTTPMessage` containing meta-information associated with the URL. When the method is HTTP, these headers are those returned by the server at the head of the retrieved HTML page (including Content-Length and Content-Type). When the method is FTP, a Content-Length header will be