MCPcopy
hub / github.com/python/mypy / setdefault

Method setdefault

mypyc/test-data/fixtures/ir.py:302–302  ·  view source on GitHub ↗
(self, key: _K, val: _V = ...)

Source from the content-addressed store, hash-verified

300 def clear(self) -> None: pass
301 def copy(self) -> Dict[_K, _V]: pass
302 def setdefault(self, key: _K, val: _V = ...) -> _V: pass
303
304class set(Generic[_T]):
305 def __init__(self, i: Optional[Iterable[_T]] = None) -> None: pass

Callers 15

update_protocol_depsMethod · 0.80
add_all_protocol_depsMethod · 0.80
invert_depsFunction · 0.80
prepare_sccs_fullFunction · 0.80
enterMethod · 0.80
add_plugin_dependencyMethod · 0.80

Calls

no outgoing calls