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