Home
last modified time | relevance | path

Searched refs:subnet_of (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_ipaddress.py485 self.factory('10.0.0.0/30').subnet_of(
489 self.factory('10.0.0.0/30').subnet_of(
493 self.factory('10.0.0.0/30').subnet_of(
497 self.factory('10.0.1.0/24').subnet_of(
526 ipaddress.IPv4Network('10.0.0.0/30').subnet_of(
529 ipaddress.IPv6Network('::1/128').subnet_of(
598 self.factory('2000:999::/56').subnet_of(
602 self.factory('2000:aaa::/56').subnet_of(
606 self.factory('2000:bbb::/56').subnet_of(
610 self.factory('2000:aaa::/48').subnet_of(
/external/python/cpython3/Lib/
Dipaddress.py779 if not other.subnet_of(self):
790 if other.subnet_of(s1):
793 elif other.subnet_of(s2):
987 def subnet_of(self, other): member in _BaseNetwork
/external/python/cpython3/Doc/library/
Dipaddress.rst558 .. method:: subnet_of(other)
564 >>> b.subnet_of(a)
664 .. method:: subnet_of(other)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a3.rst936 Add `subnet_of` and `superset_of` containment tests to
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1055 The new ``subnet_of()`` and ``supernet_of()`` methods of