[Python-checkins] r80774 - in python/branches/release31-maint: Doc/library/urllib.request.rst

senthil.kumaran python-checkins at python.org
Wed May 5 07:34:35 CEST 2010


Author: senthil.kumaran
Date: Wed May  5 07:34:35 2010
New Revision: 80774

Log:
Merged revisions 80773 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80773 | senthil.kumaran | 2010-05-05 11:02:16 +0530 (Wed, 05 May 2010) | 3 lines
  
  Fix Issue8619 docfix related to urllib.
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Doc/library/urllib.request.rst

Modified: python/branches/release31-maint/Doc/library/urllib.request.rst
==============================================================================
--- python/branches/release31-maint/Doc/library/urllib.request.rst	(original)
+++ python/branches/release31-maint/Doc/library/urllib.request.rst	Wed May  5 07:34:35 2010
@@ -133,10 +133,10 @@
    of the :class:`FancyURLopener` class and use it to perform their requested
    actions.  To override this functionality, programmers can create a subclass of
    :class:`URLopener` or :class:`FancyURLopener`, then assign an instance of that
-   class to the ``urllib._urlopener`` variable before calling the desired function.
-   For example, applications may want to specify a different
-   :mailheader:`User-Agent` header than :class:`URLopener` defines.  This can be
-   accomplished with the following code::
+   class to the ``urllib.request._urlopener`` variable before calling the
+   desired function.  For example, applications may want to specify a different
+   :mailheader:`User-Agent` header than :class:`URLopener` defines.
+   This can be accomplished with the following code::
 
       import urllib.request
 


More information about the Python-checkins mailing list