summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-06-19 20:52:49 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-06-19 20:52:49 (GMT)
commitfe9230aac6c85c31a5b0f9983599dcc01091b810 (patch)
treece653e1ceee35eaa5cd10582b9a158d73fe2ceec
parentacde6a0a40bc749aed4bb5f30560d1c5a9e2be3c (diff)
downloadcpython-fe9230aac6c85c31a5b0f9983599dcc01091b810.zip
cpython-fe9230aac6c85c31a5b0f9983599dcc01091b810.tar.gz
cpython-fe9230aac6c85c31a5b0f9983599dcc01091b810.tar.bz2
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
-rw-r--r--Doc/library/urllib.parse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
index 0ed27ba4..36fe1b3 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -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.