[Python-checkins] cpython (merge 3.1 -> 3.2): merge from 3.1 for issue issue12261.

senthil.kumaran python-checkins at python.org
Sun Jun 19 22:57:11 CEST 2011


http://hg.python.org/cpython/rev/18f3239b3d48
changeset:   70877:18f3239b3d48
branch:      3.2
parent:      70865:f9b4cfc19264
parent:      70876:4211ace1ff5d
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Sun Jun 19 13:55:48 2011 -0700
summary:
  merge from 3.1 for issue issue12261.

files:
  Doc/library/urllib.parse.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -61,7 +61,7 @@
    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='')
@@ -537,7 +537,7 @@
 .. 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list