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

Function emit_await

mypyc/irbuild/statement.py:1408–1409  ·  view source on GitHub ↗
(builder: IRBuilder, val: Value, line: int)

Source from the content-addressed store, hash-verified

1406
1407
1408def emit_await(builder: IRBuilder, val: Value, line: int) -> Value:
1409 return emit_yield_from_or_await(builder, val, line, is_await=True)
1410
1411
1412def transform_yield_expr(builder: IRBuilder, expr: YieldExpr) -> Value:

Callers 3

try_bodyMethod · 0.90
transform_withFunction · 0.85
maybe_natively_call_exitFunction · 0.85

Calls 1

emit_yield_from_or_awaitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…