mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Doc that urlparse is named urllib.parse in Python 3.0.
This commit is contained in:
parent
97aa1aeebd
commit
f6afa334b9
2 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue