]> granicus.if.org Git - python/commitdiff
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 19 Jun 2011 20:52:49 +0000 (13:52 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 19 Jun 2011 20:52:49 +0000 (13:52 -0700)
Doc/library/urllib.parse.rst

index 0ed27ba409ca017be065a31421a48aaeb287fe61..36fe1b31b544f24d4d24862effeb3721a5b3838c 100644 (file)
@@ -53,7 +53,7 @@ The :mod:`urllib.parse` module defines the following functions:
    input is presumed to be a relative URL and thus to start with
    a path component.
 
-       >>> from urlparse import urlparse
+       >>> from urllib.parse import urlparse
        >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')
        ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',
                   params='', query='', fragment='')
@@ -351,7 +351,7 @@ The :mod:`urllib.parse` module defines the following functions:
 .. seealso::
 
    :rfc:`3986` - Uniform Resource Identifiers
-      This is the current standard (STD66). Any changes to urlparse module
+      This is the current standard (STD66). Any changes to urllib.parse module
       should conform to this. Certain deviations could be observed, which are
       mostly for backward compatibility purposes and for certain de-facto
       parsing requirements as commonly observed in major browsers.