]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
# 1722 - Add a note on urllib helper functions like splittype, splithost etc.
authorSenthil Kumaran <senthil@uthcode.com>
Thu, 2 May 2013 12:50:21 +0000 (05:50 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Thu, 2 May 2013 12:50:21 +0000 (05:50 -0700)
Doc/library/urllib.rst

index 2008bdfe3e749d770714cc3a72619e595501bcf8..c7d200dbe8a8b1340da5f956783b452eef31cfb5 100644 (file)
@@ -280,6 +280,13 @@ Utility functions
    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
 ------------------