summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/ast_opt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ast_opt.c b/Python/ast_opt.c
index 1393c34..1766321 100644
--- a/Python/ast_opt.c
+++ b/Python/ast_opt.c
@@ -19,6 +19,7 @@ make_const(expr_ty node, PyObject *val, PyArena *arena)
return 0;
}
node->kind = Constant_kind;
+ node->v.Constant.kind = NULL;
node->v.Constant.value = val;
return 1;
}