Skip to content

Commit 4fd9eb2

Browse files
authored
Fix typo: Use AsyncFor element access in codegen (#127278)
Use AsyncFor element access in codegen
1 parent 193890c commit 4fd9eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/codegen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2033,7 +2033,7 @@ codegen_async_for(compiler *c, stmt_ty s)
20332033
ADDOP(c, loc, END_ASYNC_FOR);
20342034

20352035
/* `else` block */
2036-
VISIT_SEQ(c, stmt, s->v.For.orelse);
2036+
VISIT_SEQ(c, stmt, s->v.AsyncFor.orelse);
20372037

20382038
USE_LABEL(c, end);
20392039
return SUCCESS;

0 commit comments

Comments
 (0)