summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2018-07-18 10:07:20 -0700
committerGuido van Rossum <guido@python.org>2018-07-18 10:07:20 -0700
commit8db54060d784851910f345c821a659f6ec351e28 (patch)
treeb913eff4f7f63e0a388b7b3ef3b9529d7472db16
parent4058b938da4b649fb91a2f4a3c9fb041b30fbaa8 (diff)
downloadcpython-git-pep572.tar.gz
A random simplification I noticedpep572
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 3072cb68d1..17b9720568 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -3058,7 +3058,7 @@ ast_for_expr_stmt(struct compiling *c, const node *n)
return NULL;
/* set context to assign */
- if (!set_context(c, e, Store, CHILD(n, i)))
+ if (!set_context(c, e, Store, ch))
return NULL;
asdl_seq_SET(targets, i / 2, e);