8000 [3.12] GH-115577 Clarify netloc term usage in urllib.parse docs (GH-1… · python/cpython@11888a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 11888a8

Browse files
[3.12] GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632) (GH-118656)
(cherry picked from commit 3ed3bc3) Co-authored-by: Kerim Kabirov <the.privat33r+gh@pm.me>
1 parent a4812fd commit 11888a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/urllib.parse.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ The :mod:`urllib.parse` module defines functions that fall into two broad
3131
categories: URL parsing and URL quoting. These are covered in detail in
3232
the following sections.
3333

34+
This module's functions use the deprecated term ``netloc`` (or ``net_loc``),
35+
which was introduced in :rfc:`1808`. However, this term has been obsoleted by
36+
:rfc:`3986`, which introduced the term ``authority`` as its replacement.
37+
The use of ``netloc`` is continued for backward compatibility.
38+
3439
URL Parsing
3540
-----------
3641

0 commit comments

Comments
 (0)
0