[docs] [issue10226] urlparse example is wrong

Senthil Kumaran report at bugs.python.org
Fri Oct 29 10:56:06 CEST 2010

Senthil Kumaran <orsenthil at gmail.com> added the comment:

-   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.
+   If the netloc does not start with '//', the module cannot distinguish it
+   from path and it would classify it as path component in the relative url.

How does this sound?


Python tracker <report at bugs.python.org>

More information about the docs mailing list