https://github.com/python/cpython/commit/4fd9eb2aca21489ea0841155cdb81cb30dda73d3
commit: 4fd9eb2aca21489ea0841155cdb81cb30dda73d3
branch: main
author: Marc Mueller <[email protected]>
committer: iritkatriel <[email protected]>
date: 2024-11-26T01:00:46Z
summary:

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

Use AsyncFor element access in codegen

files:
M Python/codegen.c

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;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to