Skip to content

Commit 31142fe

Browse files
Update Lib/ipaddress.py
Change to 32-bit integer and 4-byte packed integer. Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 7dacbec commit 31142fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/ipaddress.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ def __init__(self, address, strict=True):
15691569
15701570
The address can also be a two-tuple of an address description
15711571
and a netmask, where the address description is either a
1572-
string, a 32-bits integer, a 4-bytes packed integer, or an
1572+
string, a 32-bit integer, a 4-byte packed integer, or an
15731573
existing IPv4Address object; and the netmask is either an
15741574
integer representing the prefix length (e.g. 24) or a string
15751575
representing the prefix mask (e.g. '255.255.255.0').

0 commit comments

Comments
 (0)