summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 60dd121..77b23f7 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -1099,7 +1099,7 @@ static int obj2ast_int(struct ast_state* Py_UNUSED(state), PyObject* obj, int* o
return 1;
}
- i = _PyLong_AsInt(obj);
+ i = PyLong_AsInt(obj);
if (i == -1 && PyErr_Occurred())
return 1;
*out = i;