0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 21:09:37 +01:00

GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632)

This commit is contained in:
Kerim Kabirov 2024-05-06 18:55:22 +02:00 committed by GitHub
parent 7528b84e94
commit 3ed3bc379a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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
-----------