MCPcopy Index your code
hub / github.com/RustPython/RustPython / supernet_of

Method supernet_of

Lib/ipaddress.py:1046–1048  ·  view source on GitHub ↗

Return True if this network is a supernet of other.

(self, other)

Source from the content-addressed store, hash-verified

1044 return self._is_subnet_of(self, other)
1045
1046 def supernet_of(self, other):
1047 """Return True if this network is a supernet of other."""
1048 return self._is_subnet_of(other, self)
1049
1050 @property
1051 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