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

Method free_state

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

Source from the content-addressed store, hash-verified

3519 self.time_spent_us += time_spent_us(t0)
3520
3521 def free_state(self) -> None:
3522 if self._type_checker:
3523 self._type_checker.reset()
3524 self._type_checker = None
3525
3526 def patch_indirect_dependencies(self, module_refs: set[str], types: set[Type]) -> None:
3527 assert self.ancestors is not None

Callers 3

finish_passesMethod · 0.95
update_moduleMethod · 0.80
reprocess_nodesFunction · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected