]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo: Use AsyncFor element access in codegen (#127278)
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>
Tue, 26 Nov 2024 01:00:46 +0000 (02:00 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Nov 2024 01:00:46 +0000 (01:00 +0000)
Use AsyncFor element access in codegen

Python/codegen.c

index bce3b94b27a45d0b63265141a31c7800174b9df8..dbf36cdc0b7908e0d369f01dc59bc6fd4a57a9a3 100644 (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;