diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-02-26 09:02:14 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-02-26 09:02:14 (GMT) |
commit | b1bbc0b3dc870ecb7621fa7499f2347fe4a6a8e7 (patch) | |
tree | deda066586fb7664a7ad23a50a375a0bf7100d01 | |
parent | d36d4e0d2b203a9e9202d619112a25dca5636d64 (diff) | |
download | cpython-b1bbc0b3dc870ecb7621fa7499f2347fe4a6a8e7.zip cpython-b1bbc0b3dc870ecb7621fa7499f2347fe4a6a8e7.tar.gz cpython-b1bbc0b3dc870ecb7621fa7499f2347fe4a6a8e7.tar.bz2 |
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
-rw-r--r-- | Doc/library/urlparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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') |