summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index afe0f82..d08e9a3 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -828,21 +828,21 @@ builtin_compile_impl(PyObject *module, PyObject *source, PyObject *filename,
PyArena *arena;
mod_ty mod;
- arena = PyArena_New();
+ arena = _PyArena_New();
if (arena == NULL)
goto error;
mod = PyAST_obj2mod(source, arena, compile_mode);
if (mod == NULL) {
- PyArena_Free(arena);
+ _PyArena_Free(arena);
goto error;
}
if (!_PyAST_Validate(mod)) {
- PyArena_Free(arena);
+ _PyArena_Free(arena);
goto error;
}
result = (PyObject*)_PyAST_Compile(mod, filename,
&cf, optimize, arena);
- PyArena_Free(arena);
+ _PyArena_Free(arena);
}
goto finally;
}