Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4386d3

Browse files
committed
Issue #14814: minor spelling fixes
1 parent 3a37b83 commit b4386d3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/ipaddress.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def v6_int_to_packed(address):
143143
"""Represent an address as 16 packed bytes in network (big-endian) order.
144144
145145
Args:
146-
address: An integer representation of an IPv4 IP address.
146+
address: An integer representation of an IPv6 IP address.
147147
148148
Returns:
149149
The integer address packed as 16 bytes in network (big-endian) order.
@@ -1181,7 +1181,7 @@ def __init__(self, address):
11811181
IPv4Address('192.0.2.1')
11821182
11831183
Raises:
1184-
AddressValueError: If ipaddressisn't a valid IPv4 address.
1184+
AddressValueError: If ipaddress isn't a valid IPv4 address.
11851185
11861186
"""
11871187
_BaseAddress.__init__(self, address)
@@ -1366,10 +1366,10 @@ def __init__(self, address, strict=True):
13661366
IPv4Interface('192.0.2.1')
13671367
13681368
Raises:
1369-
AddressValueError: If ipaddressisn't a valid IPv4 address.
1369+
AddressValueError: If ipaddress isn't a valid IPv4 address.
13701370
NetmaskValueError: If the netmask isn't valid for
13711371
an IPv4 address.
1372-
ValueError: If strict was True and a network address was not
1372+
ValueError: If strict is True and a network address is not
13731373
supplied.
13741374
13751375
"""

0 commit comments

Comments
 (0)