Skip to content

Commit

Permalink
Fix typo: Use AsyncFor element access in codegen (python#127278)
Browse files Browse the repository at this point in the history
Use AsyncFor element access in codegen
  • Loading branch information
cdce8p authored Nov 26, 2024
1 parent 193890c commit 4fd9eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4fd9eb2

Please sign in to comment.