cpython: facdca62aa68 (original) (raw)
Mercurial > cpython
changeset 77295:facdca62aa68
Issue #14814: minor spelling fixes [#14814]
Sandro Tosi sandro.tosi@gmail.com | |
---|---|
date | Sat, 02 Jun 2012 17:14:22 +0200 |
parents | 56650edb95a2 |
children | 4b4044292d09 |
files | Lib/ipaddress.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-)[+] [-] Lib/ipaddress.py 8 |
line wrap: on
line diff
--- 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.[](#l1.7)
address: An integer representation of an IPv6 IP address.[](#l1.8)
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.[](#l1.16)
AddressValueError: If ipaddress isn't a valid IPv4 address.[](#l1.17)
""" _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.[](#l1.25)
AddressValueError: If ipaddress isn't a valid IPv4 address.[](#l1.26) NetmaskValueError: If the netmask isn't valid for[](#l1.27) an IPv4 address.[](#l1.28)
ValueError: If strict was True and a network address was not[](#l1.29)
ValueError: If strict is True and a network address is not[](#l1.30) supplied.[](#l1.31)