Doc that urlparse is named urllib.parse in Python 3.0.

This commit is contained in:
Brett Cannon 2008-07-11 00:16:30 +00:00
parent 97aa1aeebd
commit f6afa334b9
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,12 @@
pair: URL; parsing
pair: relative; URL
.. note::
The :mod:`urlparse` module is renamed to :mod:`urllib.parse` in Python 3.0.
The :term:`2to3` tool will automatically adapt imports when converting
your sources to 3.0.
This module defines a standard interface to break Uniform Resource Locator (URL)
strings up in components (addressing scheme, network location, path etc.), to
combine the components back into a URL string, and to convert a "relative URL"

View File

@ -90,6 +90,8 @@ Build
Documentation
-------------
- Document that urlparse has been renamed to urllib.parse in Python 3.0.
- Document that urllib2 is split across multiple modules and renamed in
Python 3.0.