From: Senthil Kumaran Date: Tue, 26 Feb 2013 09:02:58 +0000 (-0800) Subject: Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified... X-Git-Tag: v3.2.4rc1~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fd366978d2020b28442831bd28df85824856e30;p=python Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior --- diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index bc1da62b3f..61fc471837 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')