From b1bbc0b3dc870ecb7621fa7499f2347fe4a6a8e7 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 26 Feb 2013 01:02:14 -0800 Subject: Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior --- Doc/library/urlparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst index 6354cce..efd112d 100644 --- a/Doc/library/urlparse.rst +++ b/Doc/library/urlparse.rst @@ -71,7 +71,7 @@ The :mod:`urlparse` module defines the following functions: >>> 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') -- cgit v0.12