diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 15:14:22 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 15:14:22 (GMT) |
commit | b4386d36f1aeb709939a85bf25d129a550ce4971 (patch) | |
tree | 01d92b5951c92596b68dd8ce51a3f03667d1fce1 | |
parent | 3a37b8393c9e38acbf6b9a7c575e4bde054802a0 (diff) | |
download | cpython-b4386d36f1aeb709939a85bf25d129a550ce4971.zip cpython-b4386d36f1aeb709939a85bf25d129a550ce4971.tar.gz cpython-b4386d36f1aeb709939a85bf25d129a550ce4971.tar.bz2 |
Issue #14814: minor spelling fixes
-rw-r--r-- | Lib/ipaddress.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py index 6763517..a8edcd1 100644 --- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -143,7 +143,7 @@ def v6_int_to_packed(address): """Represent an address as 16 packed bytes in network (big-endian) order. Args: - address: An integer representation of an IPv4 IP address. + address: An integer representation of an IPv6 IP address. Returns: The integer address packed as 16 bytes in network (big-endian) order. @@ -1181,7 +1181,7 @@ class IPv4Address(_BaseV4, _BaseAddress): IPv4Address('192.0.2.1') Raises: - AddressValueError: If ipaddressisn't a valid IPv4 address. + AddressValueError: If ipaddress isn't a valid IPv4 address. """ _BaseAddress.__init__(self, address) @@ -1366,10 +1366,10 @@ class IPv4Network(_BaseV4, _BaseNetwork): IPv4Interface('192.0.2.1') Raises: - AddressValueError: If ipaddressisn't a valid IPv4 address. + AddressValueError: If ipaddress isn't a valid IPv4 address. NetmaskValueError: If the netmask isn't valid for an IPv4 address. - ValueError: If strict was True and a network address was not + ValueError: If strict is True and a network address is not supplied. """ |