Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ with_prefixlen
Method
with_prefixlen
Lib/ipaddress.py:2255–2257 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2253
2254
@property
2255
def
with_prefixlen(self):
2256
return
'%s/%s'
% (self._string_from_ip_int(self._ip),
2257
self._prefixlen)
2258
2259
@property
2260
def
with_netmask(self):
Callers
nothing calls this directly
Calls
1
_string_from_ip_int
Method · 0.45
Tested by
no test coverage detected