From: Senthil Kumaran Date: Thu, 2 May 2013 12:50:21 +0000 (-0700) Subject: # 1722 - Add a note on urllib helper functions like splittype, splithost etc. X-Git-Tag: v2.7.5~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1fb67175ad74523c5d9b3a076479cd0dc3ef97d;p=thirdparty%2FPython%2Fcpython.git # 1722 - Add a note on urllib helper functions like splittype, splithost etc. --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 2008bdfe3e74..c7d200dbe8a8 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -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 ------------------