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

Method gen_cleanup

mypyc/irbuild/for_helpers.py:730–735  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

728 pass
729
730 def gen_cleanup(self) -> None:
731 # We set the branch to go here if the conditional evaluates to true. If
732 # an exception was raised during the loop, then err_reg will be set to
733 # True. If no_err_occurred_op returns False, then the exception will be
734 # propagated using the ERR_FALSE flag.
735 self.builder.call_c(no_err_occurred_op, [], self.line)
736
737
738class ForNativeGenerator(ForGenerator):

Callers

nothing calls this directly

Calls 1

call_cMethod · 0.45

Tested by

no test coverage detected