Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a977acc

Browse files
committed
merge from 3.1 for issue issue12261.
2 parents 409c32f + fe9230a commit a977acc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/urllib.parse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ or on combining URL components into a URL string.
6161
input is presumed to be a relative URL and thus to start with
6262
a path component.
6363

64-
>>> from urlparse import urlparse
64+
>>> from urllib.parse import urlparse
6565
>>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')
6666
ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',
6767
params='', query='', fragment='')
@@ -537,7 +537,7 @@ task isn't already covered by the URL parsing functions above.
537537
.. seealso::
538538

539539
:rfc:`3986` - Uniform Resource Identifiers
540-
This is the current standard (STD66). Any changes to urlparse module
540+
This is the current standard (STD66). Any changes to urllib.parse module
541541
should conform to this. Certain deviations could be observed, which are
542542
mostly for backward compatibility purposes and for certain de-facto
543543
parsing requirements as commonly observed in major browsers.

0 commit comments

Comments
 (0)