From: Ezio Melotti Date: Mon, 10 Feb 2014 07:59:04 +0000 (+0200) Subject: #19906: clarify note in urllib docs. X-Git-Tag: v2.7.7rc1~185^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c96f0ba29d0dba488d8c62d4558e67f0a9be577;p=python #19906: clarify note in urllib docs. --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index c7d200dbe8..62f198fcee 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -9,8 +9,9 @@ Python 3 to :mod:`urllib.request`, :mod:`urllib.parse`, and :mod:`urllib.error`. The :term:`2to3` tool will automatically adapt imports when converting your sources to Python 3. - Also note that the :func:`urllib.urlopen` function has been removed in - Python 3 in favor of :func:`urllib2.urlopen`. + Also note that the :func:`urllib.request.urlopen` function in Python 3 is + equivalent to :func:`urllib2.urlopen` and that :func:`urllib.urlopen` has + been removed. .. index:: single: WWW