Skip to content

Commit

Permalink
pythonGH-115577 Clarify netloc term usage in urllib.parse docs (pytho…
Browse files Browse the repository at this point in the history
  • Loading branch information
Privat33r-dev committed May 6, 2024
1 parent 7528b84 commit 3ed3bc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/library/urllib.parse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------

Expand Down

0 comments on commit 3ed3bc3

Please sign in to comment.