mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-27200: Fix several doctests (GH-604)
This commit is contained in:
parent
6fde770e4e
commit
e65fcde85a
7 changed files with 39 additions and 24 deletions
|
@ -64,6 +64,9 @@ or on combining URL components into a URL string.
|
|||
input is presumed to be a relative URL and thus to start with
|
||||
a path component.
|
||||
|
||||
.. doctest::
|
||||
:options: +NORMALIZE_WHITESPACE
|
||||
|
||||
>>> from urllib.parse import urlparse
|
||||
>>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')
|
||||
ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue