]> granicus.if.org Git - python/commitdiff
Fix Issue8619 docfix related to urllib.
authorSenthil Kumaran <orsenthil@gmail.com>
Wed, 5 May 2010 05:32:16 +0000 (05:32 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Wed, 5 May 2010 05:32:16 +0000 (05:32 +0000)
Doc/library/urllib.request.rst

index fdc037f8e97b6579392f184bdf33cbe5c5ca6fb1..eb3aa331a8da30fa7623ec119638a8befc72089c 100644 (file)
@@ -133,10 +133,10 @@ The :mod:`urllib.request` module defines the following functions:
    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