From a1fb67175ad74523c5d9b3a076479cd0dc3ef97d Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 2 May 2013 05:50:21 -0700 Subject: [PATCH] # 1722 - Add a note on urllib helper functions like splittype, splithost etc. --- Doc/library/urllib.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 ------------------ -- 2.47.3