aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2024-11-26 02:00:46 +0100
committerGitHub <noreply@github.com>2024-11-26 01:00:46 +0000
commit4fd9eb2aca21489ea0841155cdb81cb30dda73d3 (patch)
treea0195cda6eb738a06ac8ef33a5c3b2de667a90ef /Python
parent193890c1ccab4b398a218c6c8e91831477aa2ebb (diff)
downloadcpython-4fd9eb2aca21489ea0841155cdb81cb30dda73d3.tar.gz
cpython-4fd9eb2aca21489ea0841155cdb81cb30dda73d3.zip
Fix typo: Use AsyncFor element access in codegen (#127278)
Use AsyncFor element access in codegen
Diffstat (limited to 'Python')
-rw-r--r--Python/codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/codegen.c b/Python/codegen.c
index bce3b94b27a..dbf36cdc0b7 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;