MCPcopy Index your code
hub / github.com/python/cpython / supernet_of

Method supernet_of

Lib/ipaddress.py:1043–1045  ·  view source on GitHub ↗

Return True if this network is a supernet of other.

(self, other)

Source from the content-addressed store, hash-verified

1041 return self._is_subnet_of(self, other)
1042
1043 def supernet_of(self, other):
1044 """Return True if this network is a supernet of other."""
1045 return self._is_subnet_of(other, self)
1046
1047 @property
1048 def is_reserved(self):

Callers 3

test_supernet_ofMethod · 0.80
test_supernet_ofMethod · 0.80

Calls 1

_is_subnet_ofMethod · 0.95

Tested by 3

test_supernet_ofMethod · 0.64
test_supernet_ofMethod · 0.64