summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 3528670ef6..26c0c6b6a6 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4442,6 +4442,9 @@ compiler_visit_expr(struct compiler *c, expr_ty e)
/* Updating the column offset is always harmless. */
c->u->u_col_offset = e->col_offset;
switch (e->kind) {
+ case AssExpr_kind:
+ VISIT(c, expr, e->v.AssExpr.value);
+ break;
case BoolOp_kind:
return compiler_boolop(c, e);
case BinOp_kind: