MCPcopy Create free account
hub / github.com/python/mypy / try_body

Function try_body

mypyc/irbuild/statement.py:1152–1155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1150 return exit_val
1151
1152 def try_body() -> None:
1153 if target:
1154 builder.assign(builder.get_assignment_target(target), value, line)
1155 body()
1156
1157 def except_body() -> None:
1158 builder.assign(exc, builder.false(), line)

Callers 2

try_finally_tryFunction · 0.85

Calls 5

bodyFunction · 0.85
emit_yieldFunction · 0.85
get_assignment_targetMethod · 0.80
assignMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…