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

Method try_body

mypyc/irbuild/for_helpers.py:834–837  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

832 )
833
834 def try_body() -> None:
835 awaitable = builder.call_c(anext_op, [builder.read(self.iter_target, line)], line)
836 self.next_reg = emit_await(builder, awaitable, line)
837 builder.assign(self.stop_reg, builder.false(), line)
838
839 def except_body() -> None:
840 builder.assign(self.stop_reg, builder.true(), line)

Callers

nothing calls this directly

Calls 5

emit_awaitFunction · 0.90
call_cMethod · 0.45
readMethod · 0.45
assignMethod · 0.45
falseMethod · 0.45

Tested by

no test coverage detected