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