summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-14 15:46:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-14 15:46:15 (GMT)
commit8e27fcea07f61456672fb10f3c7ceadd3fa02414 (patch)
tree2a355d244ec6c1a5d55d18f8ad1a0790296a9aad
parent1c29ddd0d04eddfba790af961759b6083931428e (diff)
downloadcpython-8e27fcea07f61456672fb10f3c7ceadd3fa02414.zip
cpython-8e27fcea07f61456672fb10f3c7ceadd3fa02414.tar.gz
cpython-8e27fcea07f61456672fb10f3c7ceadd3fa02414.tar.bz2
Wording fix.
-rw-r--r--Doc/library/urllib.parse.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
index 8fe7f19..53c0eb0 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -48,11 +48,11 @@ The :mod:`urllib.parse` module defines the following functions:
>>> o.geturl()
'http://www.cwi.nl:80/%7Eguido/Python.html'
- If the scheme value is not specified, urlparse following the syntax
- specifications from RFC 1808, expects the netloc value to start with '//',
- Otherwise, it is not possible to distinguish between net_loc and path
- component and would classify the indistinguishable component as path as in
- a relative url.
+ If the scheme value is not specified, urlparse expects the netloc value to
+ start with '//', following the syntax specifications from :rfc:`1808`.
+ Otherwise, it is not possible to distinguish between netloc and path
+ components, and would the indistinguishable component would be classified
+ as the path as in a relative URL.
>>> from urlparse import urlparse
>>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')