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

Method type_map

mypy/build.py:3432–3436  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3430 return self._type_checker
3431
3432 def type_map(self) -> dict[Expression, Type]:
3433 # We can extract the master type map directly since at this
3434 # point no temporary type maps can be active.
3435 assert len(self.type_checker()._type_maps) == 1
3436 return self.type_checker()._type_maps[0]
3437
3438 def type_check_second_pass(
3439 self,

Callers 6

finish_passesMethod · 0.95
build_incrementMethod · 0.80
reprocess_nodesFunction · 0.80
update_depsFunction · 0.80

Calls 2

type_checkerMethod · 0.95
lenFunction · 0.85

Tested by 1

build_incrementMethod · 0.64