[docs] Typo in urllib2 docs
Dmitry Chaplinsky
chaplinsky.dmitry at gmail.com
Fri Dec 27 02:50:18 CET 2013
http://docs.python.org/2/library/urllib2.html
This function returns a file-like object with *two* additional methods:
- geturl() — return the URL of the resource retrieved, commonly used to
determine if a redirect was followed
- info() — return the meta-information of the page, such as headers, in
the form of an
mimetools.Message<http://docs.python.org/2/library/mimetools.html#mimetools.Message>instance
(see Quick
Reference to HTTP Headers <http://www.cs.tut.fi/%7Ejkorpela/http.html>)
- getcode() — return the HTTP status code of the response.
docs says about two methods but 3 are listed.
WBR, Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20131227/4c429863/attachment-0001.html>
More information about the docs
mailing list