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

Method __init__

Lib/ipaddress.py:2204–2210  ·  view source on GitHub ↗
(self, address)

Source from the content-addressed store, hash-verified

2202class IPv6Interface(IPv6Address):
2203
2204 def __init__(self, address):
2205 addr, mask = self._split_addr_prefix(address)
2206
2207 IPv6Address.__init__(self, addr)
2208 self.network = IPv6Network((addr, mask), strict=False)
2209 self.netmask = self.network.netmask
2210 self._prefixlen = self.network._prefixlen
2211
2212 @functools.cached_property
2213 def hostmask(self):

Callers

nothing calls this directly

Calls 3

IPv6NetworkClass · 0.85
_split_addr_prefixMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected