]> granicus.if.org Git - python/commitdiff
Wording fix.
authorGeorg Brandl <georg@python.org>
Sat, 14 Aug 2010 15:46:15 +0000 (15:46 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 14 Aug 2010 15:46:15 +0000 (15:46 +0000)
Doc/library/urllib.parse.rst

index 8fe7f190a6dcdb629a991d9e0553a26be3649a34..53c0eb0f7ca1e38d69802f37300bf827dfee632e 100644 (file)
@@ -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')