MCPcopy Index your code
hub / github.com/python/mypy / store_types

Method store_types

mypy/checker.py:7828–7829  ·  view source on GitHub ↗
(self, d: dict[Expression, Type])

Source from the content-addressed store, hash-verified

7826 raise KeyError(node)
7827
7828 def store_types(self, d: dict[Expression, Type]) -> None:
7829 self._type_maps[-1].update(d)
7830
7831 def in_checked_function(self) -> bool:
7832 """Should we type-check the current function?

Callers 6

visit_dict_exprMethod · 0.80
acceptMethod · 0.80
accept_maybe_cacheMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected