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