[docs] Typo in urllib2 docs

Berker Peksağ berker.peksag at gmail.com
Sat Jun 28 02:20:17 CEST 2014


On Fri, Dec 27, 2013 at 3:49 AM, Dmitry Chaplinsky
<chaplinsky.dmitry at gmail.com> wrote:
> 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 instance (see Quick Reference to HTTP Headers)
> getcode() — return the HTTP status code of the response.
>
> docs says about two methods but 3 are listed.

Hi Dmitry,

Thanks for the report. This has been fixed.

http://hg.python.org/cpython/rev/8552f3031753

--Berker

>
> WBR, Dmitry
>
> _______________________________________________
> docs mailing list
> docs at python.org
> https://mail.python.org/mailman/listinfo/docs
>


More information about the docs mailing list