Skip to content

Commit b49b88a

Browse files
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
(cherry picked from commit 52f9842) Co-authored-by: Eric L. Frederich <[email protected]>
1 parent a132098 commit b49b88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ipaddress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ def __init__(self, address, strict=True):
14661466
address: A string or integer representing the IP [& network].
14671467
'192.0.2.0/24'
14681468
'192.0.2.0/255.255.255.0'
1469-
'192.0.0.2/0.0.0.255'
1469+
'192.0.2.0/0.0.0.255'
14701470
are all functionally the same in IPv4. Similarly,
14711471
'192.0.2.1'
14721472
'192.0.2.1/255.255.255.255'

0 commit comments

Comments
 (0)