diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py index a3a04f7f4b3092..1014eba5517190 100644 --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -1416,7 +1416,7 @@ def __init__(self, address, strict=True): address: A string or integer representing the IP [& network]. '192.0.2.0/24' '192.0.2.0/255.255.255.0' - '192.0.0.2/0.0.0.255' + '192.0.2.0/0.0.0.255' are all functionally the same in IPv4. Similarly, '192.0.2.1' '192.0.2.1/255.255.255.255'