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

Skip to content

Commit e81f32f

Browse files
committed
Give link to specification. Reference in WG page in Seealso links.
1 parent ee779d6 commit e81f32f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/library/urllib.parse.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ or on combining URL components into a URL string.
312312
``#``, ``@``, or ``:`` will raise a :exc:`ValueError`. If the URL is
313313
decomposed before parsing, no error will be raised.
314314

315-
Following the specification in `WHATWG`_ which updates RFC 3986, ASCII newline
315+
Following the `WHATWG spec`_ that updates RFC 3986, ASCII newline
316316
``\n``, ``\r`` and tab ``\t`` characters are stripped from the url.
317317

318318
.. versionchanged:: 3.6
@@ -326,6 +326,8 @@ or on combining URL components into a URL string.
326326
.. versionchanged:: 3.10
327327
ASCII newline and tab characters are stripped from the url.
328328

329+
.. _WHATWG spec: https://url.spec.whatwg.org/#concept-basic-url-parser
330+
329331
.. function:: urlunsplit(parts)
330332

331333
Combine the elements of a tuple as returned by :func:`urlsplit` into a
@@ -707,4 +709,4 @@ task isn't already covered by the URL parsing functions above.
707709
:rfc:`1738` - Uniform Resource Locators (URL)
708710
This specifies the formal syntax and semantics of absolute URLs.
709711

710-
.. _WHATWG: https://url.spec.whatwg.org/#concept-basic-url-parser
712+
.. _WHATWG: https://url.spec.whatwg.org/

0 commit comments

Comments
 (0)