diff options
Diffstat (limited to 'Python/codegen.c')
-rw-r--r-- | Python/codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/codegen.c b/Python/codegen.c index 7669cc5a65b..ecad8c22bdf 100644 --- a/Python/codegen.c +++ b/Python/codegen.c @@ -2041,6 +2041,7 @@ codegen_async_for(compiler *c, stmt_ty s) ADDOP_LOAD_CONST(c, loc, Py_None); ADD_YIELD_FROM(c, loc, 1); ADDOP(c, loc, POP_BLOCK); /* for SETUP_FINALLY */ + ADDOP(c, loc, NOT_TAKEN); /* Success block for __anext__ */ VISIT(c, expr, s->v.AsyncFor.target); |