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