Skip to content

Commit 3ed3bc3

Browse files
GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632)
1 parent 7528b84 commit 3ed3bc3

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)