(original) (raw)
changeset: 77295:facdca62aa68 user: Sandro Tosi sandro.tosi@gmail.com date: Sat Jun 02 17:14:22 2012 +0200 files: Lib/ipaddress.py description: Issue #14814: minor spelling fixes diff -r 56650edb95a2 -r facdca62aa68 Lib/ipaddress.py --- a/Lib/ipaddress.py Fri Jun 01 23:57:50 2012 -0700 +++ b/Lib/ipaddress.py Sat Jun 02 17:14:22 2012 +0200 @@ -143,7 +143,7 @@ """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 @@ 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 @@ 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. """ /sandro.tosi@gmail.com