[Python-checkins] r76283 - in python/branches/release26-maint: Lib/urllib2.py

senthil.kumaran python-checkins at python.org
Sun Nov 15 07:14:36 CET 2009


Author: senthil.kumaran
Date: Sun Nov 15 07:14:36 2009
New Revision: 76283

Log:
Merged revisions 76282 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines
  
  Addition of some details in the code comments.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/urllib2.py

Modified: python/branches/release26-maint/Lib/urllib2.py
==============================================================================
--- python/branches/release26-maint/Lib/urllib2.py	(original)
+++ python/branches/release26-maint/Lib/urllib2.py	Sun Nov 15 07:14:36 2009
@@ -30,7 +30,9 @@
 install_opener -- Installs a new opener as the default opener.
 
 objects of interest:
-OpenerDirector --
+
+OpenerDirector -- Sets up the User Agent as the Python-urllib client and manages
+the Handler classes, while dealing with requests and responses.
 
 Request -- An object that encapsulates the state of a request.  The
 state can be as simple as the URL.  It can also include extra HTTP
@@ -440,7 +442,7 @@
     """Create an opener object from a list of handlers.
 
     The opener will use several default handlers, including support
-    for HTTP and FTP.
+    for HTTP, FTP and when applicable, HTTPS.
 
     If any of the handlers passed as arguments are subclasses of the
     default handlers, the default handlers will not be used.


More information about the Python-checkins mailing list