Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/ipaddress.py
Co-authored-by: Petr Viktorin <encukou@gmail.com>
  • Loading branch information
jstasiak and encukou authored Mar 13, 2024
commit c43f0dab75a74024f2b3dfe9e253f2f0b93c5d8b
2 changes: 1 addition & 1 deletion Lib/ipaddress.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ def is_private(self):
iana-ipv4-special-registry_ (for IPv4) or iana-ipv6-special-registry_
(for IPv6) with the following exceptions:

* ``is_private`` is ``False`` for the ``100.64.0.0/10``
* ``is_private`` is ``False`` for ``100.64.0.0/10``
* For IPv4-mapped IPv6-addresses the ``is_private`` value is determined by the
semantics of the underlying IPv4 addresses and the following condition holds
(see :attr:`IPv6Address.ipv4_mapped`)::
Expand Down