diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-02-26 09:02:58 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-02-26 09:02:58 (GMT) |
commit | 8fd366978d2020b28442831bd28df85824856e30 (patch) | |
tree | 653682b0979f16de37f9e081ad10dadd1efd1349 /Doc | |
parent | a5f13d2a5f03cb47da4daa85d0297a63897c92c9 (diff) | |
download | cpython-8fd366978d2020b28442831bd28df85824856e30.zip cpython-8fd366978d2020b28442831bd28df85824856e30.tar.gz cpython-8fd366978d2020b28442831bd28df85824856e30.tar.bz2 |
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.parse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index bc1da62..61fc471 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -69,7 +69,7 @@ or on combining URL components into a URL string. >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html') ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', params='', query='', fragment='') - >>> urlparse('www.cwi.nl:80/%7Eguido/Python.html') + >>> urlparse('www.cwi.nl/%7Eguido/Python.html') ParseResult(scheme='', netloc='', path='www.cwi.nl:80/%7Eguido/Python.html', params='', query='', fragment='') >>> urlparse('help/Python.html') |