From: Kerim Kabirov Date: Mon, 6 May 2024 16:55:22 +0000 (+0200) Subject: GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632) X-Git-Tag: v3.13.0b1~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ed3bc379a0c4ce7a107dd4bc276554fbb477998;p=thirdparty%2FPython%2Fcpython.git GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632) --- diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 3c898c3e8263..59fb14960ba9 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 -----------