]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632)
authorKerim Kabirov <the.privat33r+gh@pm.me>
Mon, 6 May 2024 16:55:22 +0000 (18:55 +0200)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 16:55:22 +0000 (18:55 +0200)
Doc/library/urllib.parse.rst

index 3c898c3e8263046ce6c03837e01ddc35dc8246ed..59fb14960ba9f6a894cb76fb784e3660fd0db47a 100644 (file)
@@ -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
 -----------