Sandro Tosi added the comment:
The documentation reports this example:
>>> urlparse('www.cwi.nl:80/%7Eguido/Python.html')
ParseResult(scheme='', netloc='', path='www.cwi.nl:80/%7Eguido/Python.html',
params='', query='', fragment='')
but when executing it returns:
$ ./python -V
Python 2.7.3+
$ ./python -c "from urlparse import urlparse ; print
urlparse('www.cwi.nl:80/%7Eguido/Python.html')"
ParseResult(scheme='www.cwi.nl', netloc='', path='80/%7Eguido/Python.html',
params='', query='', fragment='')
which doesn't match.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16932>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com