summaryrefslogtreecommitdiffstats
path: root/Python/ast_opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ast_opt.c')
-rw-r--r--Python/ast_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast_opt.c b/Python/ast_opt.c
index 64fa067..0310466 100644
--- a/Python/ast_opt.c
+++ b/Python/ast_opt.c
@@ -16,7 +16,7 @@ make_const(expr_ty node, PyObject *val, PyArena *arena)
PyErr_Clear();
return 1;
}
- if (PyArena_AddPyObject(arena, val) < 0) {
+ if (_PyArena_AddPyObject(arena, val) < 0) {
Py_DECREF(val);
return 0;
}