summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/urlparse.rst6
-rw-r--r--Misc/NEWS2
2 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
index 0d83d779df..02984f66a9 100644
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -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"
diff --git a/Misc/NEWS b/Misc/NEWS
index 8d83e6b76b..d447b389a2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.