Skip to content

Commit b5789a7

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 b24c9d2 commit b5789a7

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
@@ -1416,7 +1416,7 @@ def __init__(self, address, strict=True):
14161416
address: A string or integer representing the IP [& network].
14171417
'192.0.2.0/24'
14181418
'192.0.2.0/255.255.255.0'
1419-
'192.0.0.2/0.0.0.255'
1419+
'192.0.2.0/0.0.0.255'
14201420
are all functionally the same in IPv4. Similarly,
14211421
'192.0.2.1'
14221422
'192.0.2.1/255.255.255.255'

0 commit comments

Comments
 (0)