summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-28 14:31:14 -0500
committerBenjamin Peterson <benjamin@python.org>2015-05-28 14:31:14 -0500
commit2ec8f9bffc952a2ebc17b91787298be1180e517f (patch)
tree17404b2f867b65069b2e832772cbbd3b7eb99b64 /Python/compile.c
parent26f7057b360431d5e75145033f3688029257efd1 (diff)
parentee85339cc69af6b29a37b85a5695fb9c12f0f0a3 (diff)
downloadcpython-git-2ec8f9bffc952a2ebc17b91787298be1180e517f.tar.gz
merge 3.5 (#11205)
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 7820f39f87..5905910574 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -3138,8 +3138,8 @@ compiler_dict(struct compiler *c, expr_ty e)
containers++;
}
else {
- VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.keys, i));
+ VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
elements++;
}
}
@@ -3287,8 +3287,8 @@ compiler_call_helper(struct compiler *c,
}
else if (nsubkwargs) {
/* A keyword argument and we already have a dict. */
- VISIT(c, expr, kw->value);
ADDOP_O(c, LOAD_CONST, kw->arg, consts);
+ VISIT(c, expr, kw->value);
nseen++;
}
else {