diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-05-05 05:32:16 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-05-05 05:32:16 +0000 |
commit | 4db26af2805ad1f54c547de342ea5fc2310bcc00 (patch) | |
tree | 34ae0893bb48d28d56583cd6d41a33b8a1b8ab3d | |
parent | e95a9ff112159f8cd46d6cdb5f8da19c92469e59 (diff) | |
download | cpython-git-4db26af2805ad1f54c547de342ea5fc2310bcc00.tar.gz |
Fix Issue8619 docfix related to urllib.
-rw-r--r-- | Doc/library/urllib.request.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index fdc037f8e9..eb3aa331a8 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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 |