diff --git a/Python/codegen.c b/Python/codegen.c index bce3b94b27a45d..dbf36cdc0b7908 100644 --- a/Python/codegen.c +++ b/Python/codegen.c @@ -2033,7 +2033,7 @@ codegen_async_for(compiler *c, stmt_ty s) ADDOP(c, loc, END_ASYNC_FOR); /* `else` block */ - VISIT_SEQ(c, stmt, s->v.For.orelse); + VISIT_SEQ(c, stmt, s->v.AsyncFor.orelse); USE_LABEL(c, end); return SUCCESS;