https://github.com/python/cpython/commit/11888a8694b4a2a20f0b27d046085ff9e6fa9171 commit: 11888a8694b4a2a20f0b27d046085ff9e6fa9171 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: encukou <[email protected]> date: 2024-05-06T17:01:50Z summary:
[3.12] GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632) (GH-118656) (cherry picked from commit 3ed3bc379a0c4ce7a107dd4bc276554fbb477998) Co-authored-by: Kerim Kabirov <[email protected]> files: M Doc/library/urllib.parse.rst diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 3c898c3e826304..59fb14960ba9f6 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -31,6 +31,11 @@ The :mod:`urllib.parse` module defines functions that fall into two broad categories: URL parsing and URL quoting. These are covered in detail in the following sections. +This module's functions use the deprecated term ``netloc`` (or ``net_loc``), +which was introduced in :rfc:`1808`. However, this term has been obsoleted by +:rfc:`3986`, which introduced the term ``authority`` as its replacement. +The use of ``netloc`` is continued for backward compatibility. + URL Parsing ----------- _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
