diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-07-11 00:12:52 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-07-11 00:12:52 (GMT) |
commit | 97aa1aeebd3dde08672b64026cdf2c5a610e7c0b (patch) | |
tree | 7d77cec0c6cf402dd0b7a38df4059a0bec10a55d /Doc/library/urllib2.rst | |
parent | ea40c587d82b9d975108110151ca901d26fffa7b (diff) | |
download | cpython-97aa1aeebd3dde08672b64026cdf2c5a610e7c0b.zip cpython-97aa1aeebd3dde08672b64026cdf2c5a610e7c0b.tar.gz cpython-97aa1aeebd3dde08672b64026cdf2c5a610e7c0b.tar.bz2 |
Document the fact that urllib2 spans multiple modules with new names in Python
3.0.
Diffstat (limited to 'Doc/library/urllib2.rst')
-rw-r--r-- | Doc/library/urllib2.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst index ff664f5..6cab787 100644 --- a/Doc/library/urllib2.rst +++ b/Doc/library/urllib2.rst @@ -7,6 +7,13 @@ .. sectionauthor:: Moshe Zadka <moshez@users.sourceforge.net> +.. note:: + The :mod:`urllib2` module has been split across several modules in + Python 3.0 named :mod:`urllib.request` and :mod:`urllib.error`. + The :term:`2to3` tool will automatically adapt imports when converting + your sources to 3.0. + + The :mod:`urllib2` module defines functions and classes which help in opening URLs (mostly HTTP) in a complex world --- basic and digest authentication, redirections, cookies and more. |