diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index 26c0c6b6a6..d71b33121c 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -4444,6 +4444,8 @@ compiler_visit_expr(struct compiler *c, expr_ty e) switch (e->kind) { case AssExpr_kind: VISIT(c, expr, e->v.AssExpr.value); + ADDOP(c, DUP_TOP); + VISIT(c, expr, e->v.AssExpr.target); break; case BoolOp_kind: return compiler_boolop(c, e); |