From 8fd366978d2020b28442831bd28df85824856e30 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 26 Feb 2013 01:02:58 -0800 Subject: [PATCH] Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior --- Doc/library/urllib.parse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index bc1da62b3f2..61fc4718375 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')