Fix typo: Use AsyncFor element access in codegen (#127278)

Use AsyncFor element access in codegen
This commit is contained in:
Marc Mueller 2024-11-26 02:00:46 +01:00 committed by GitHub
parent 193890c1cc
commit 4fd9eb2aca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;