[Python-checkins] cpython (2.7): # 1722 - Add a note on urllib helper functions like splittype, splithost etc.
senthil.kumaran
python-checkins at python.org
Thu May 2 14:50:37 CEST 2013
http://hg.python.org/cpython/rev/c3656dca65e7
changeset: 83589:c3656dca65e7
branch: 2.7
parent: 83579:d1aa8a9eba44
user: Senthil Kumaran <senthil at uthcode.com>
date: Thu May 02 05:50:21 2013 -0700
summary:
# 1722 - Add a note on urllib helper functions like splittype, splithost etc.
files:
Doc/library/urllib.rst | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst
--- a/Doc/library/urllib.rst
+++ b/Doc/library/urllib.rst
@@ -280,6 +280,13 @@
find it, looks for proxy information from Mac OSX System Configuration for
Mac OS X and Windows Systems Registry for Windows.
+.. note::
+ urllib also exposes certain utility functions like splittype, splithost and
+ others parsing url into various components. But it is recommended to use
+ :mod:`urlparse` for parsing urls than using these functions directly.
+ Python 3 does not expose these helper functions from :mod:`urllib.parse`
+ module.
+
URL Opener objects
------------------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list