Searched refs:AddressValueError (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | ipaddress.py | 19 class AddressValueError(ValueError): class 45 except (AddressValueError, NetmaskValueError): 50 except (AddressValueError, NetmaskValueError): 75 except (AddressValueError, NetmaskValueError): 80 except (AddressValueError, NetmaskValueError): 110 except (AddressValueError, NetmaskValueError): 115 except (AddressValueError, NetmaskValueError): 162 raise AddressValueError("Only one '/' permitted in %r" % address) 420 raise AddressValueError(msg % (address, self._version)) 423 raise AddressValueError(msg % (address, self._max_prefixlen, [all …]
|
/external/python/cpython3/Doc/library/ |
D | ipaddress.rst | 99 Construct an IPv4 address. An :exc:`AddressValueError` is raised if 208 Construct an IPv6 address. An :exc:`AddressValueError` is raised if 337 ipaddress.AddressValueError: 4294967296 (>= 2**32) is not permitted as an IPv4 address 405 An :exc:`AddressValueError` is raised if *address* is not a valid IPv4 622 An :exc:`AddressValueError` is raised if *address* is not a valid IPv6 913 .. exception:: AddressValueError(ValueError)
|
/external/python/cpython3/Doc/howto/ |
D | ipaddress.rst | 307 :exc:`ValueError` subclasses :exc:`ipaddress.AddressValueError` and 321 ipaddress.AddressValueError: Octet 256 (> 255) not permitted in '192.168.0.256'
|
/external/python/cpython3/Lib/test/ |
D | test_ipaddress.py | 58 return self.assertCleanError(ipaddress.AddressValueError, 1651 self.assertRaises(ipaddress.AddressValueError, ipaddress.IPv6Interface,
|