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

Method need_cleanup

mypyc/irbuild/for_helpers.py:659–661  ·  view source on GitHub ↗

If this returns true, we need post-loop cleanup.

(self)

Source from the content-addressed store, hash-verified

657 self.loop_exit = loop_exit
658
659 def need_cleanup(self) -> bool:
660 """If this returns true, we need post-loop cleanup."""
661 return False
662
663 def add_cleanup(self, exit_block: BasicBlock) -> None:
664 """Add post-loop cleanup, if needed."""

Callers 2

__init__Method · 0.95
add_cleanupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected