* Update Parser/asdl_c.py to regenerate Python/Python-ast.c.
* Remove _PyLong_AsInt() alias to PyLong_AsInt().
# error "this header file must not be included directly"
#endif
-// Alias for backport compatibility
-#define _PyLong_AsInt PyLong_AsInt
-
PyAPI_FUNC(int) _PyLong_UnsignedShort_Converter(PyObject *, void *);
PyAPI_FUNC(int) _PyLong_UnsignedInt_Converter(PyObject *, void *);
PyAPI_FUNC(int) _PyLong_UnsignedLong_Converter(PyObject *, void *);
return 1;
}
- i = _PyLong_AsInt(obj);
+ i = PyLong_AsInt(obj);
if (i == -1 && PyErr_Occurred())
return 1;
*out = i;
return 1;
}
- i = _PyLong_AsInt(obj);
+ i = PyLong_AsInt(obj);
if (i == -1 && PyErr_Occurred())
return 1;
*out = i;