[Python-checkins] r84016 - python/branches/py3k/Doc/library/urllib.parse.rst
georg.brandl
python-checkins at python.org
Sat Aug 14 17:46:15 CEST 2010
Author: georg.brandl
Date: Sat Aug 14 17:46:15 2010
New Revision: 84016
Log:
Wording fix.
Modified:
python/branches/py3k/Doc/library/urllib.parse.rst
Modified: python/branches/py3k/Doc/library/urllib.parse.rst
==============================================================================
--- python/branches/py3k/Doc/library/urllib.parse.rst (original)
+++ python/branches/py3k/Doc/library/urllib.parse.rst Sat Aug 14 17:46:15 2010
@@ -48,11 +48,11 @@
>>> 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')
More information about the Python-checkins
mailing list