diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-05-05 05:34:35 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-05-05 05:34:35 (GMT) |
commit | ef7a65c3b30c22c4a640fe7d4c8198462b6c1786 (patch) | |
tree | 29310e57248aa7ebe853d16fdb9fc65a466029ac /Doc | |
parent | 751125d46a8064cc0f3f9b5781814b44d6f6dc37 (diff) | |
download | cpython-ef7a65c3b30c22c4a640fe7d4c8198462b6c1786.zip cpython-ef7a65c3b30c22c4a640fe7d4c8198462b6c1786.tar.gz cpython-ef7a65c3b30c22c4a640fe7d4c8198462b6c1786.tar.bz2 |
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.
........
Diffstat (limited to 'Doc')
-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 8928882..74f0211 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 |