MCPcopy Create free account
hub / github.com/python/cpython / __str__

Method __str__

Lib/ipaddress.py:2217–2219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2215 return self.network.hostmask
2216
2217 def __str__(self):
2218 return '%s/%d' % (super().__str__(),
2219 self._prefixlen)
2220
2221 def __eq__(self, other):
2222 address_equal = IPv6Address.__eq__(self, other)

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__str__Method · 0.45

Tested by

no test coverage detected