Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ has_key
Method
has_key
mypy/checkstrformat.py:161–162 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
159
self.field = m_dict.get(
"field"
)
160
161
def
has_key(self) -> bool:
162
return
self.key is not None
163
164
def
has_star(self) -> bool:
165
return
self.width ==
"*"
or self.precision ==
"*"
Callers
1
analyze_conversion_specifiers
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected