]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-65056: Improve the IP address' is_global/is_private documentation (GH-113186)
authorJakub Stasiak <jakub@stasiak.at>
Mon, 18 Mar 2024 12:57:00 +0000 (13:57 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 12:57:00 +0000 (13:57 +0100)
commit2a4cbf17af19a01d942f9579342f77c39fbd23c4
tree30dc4b46643f0c143e301d5bc66be21e04404d12
parente2fcaf19d302b05d3466807bad0a61f39db2a51b
GH-65056: Improve the IP address' is_global/is_private documentation (GH-113186)

* GH-65056: Improve the IP address' is_global/is_private documentation

It wasn't clear what the semantics of is_global/is_private are and, when
one gets to the bottom of it, it's not quite so simple (hence the
exceptions listed).

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/library/ipaddress.rst
Lib/ipaddress.py