mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
This commit is contained in:
parent
1a3284ed69
commit
217cfd1c86
123 changed files with 888 additions and 885 deletions
|
|
@ -469,7 +469,7 @@ format_long_internal(PyObject *value, const InternalFormatSpec *format)
|
|||
|
||||
/* taken from unicodeobject.c formatchar() */
|
||||
/* Integer input truncated to a character */
|
||||
x = PyInt_AsLong(value);
|
||||
x = PyLong_AsLong(value);
|
||||
if (x == -1 && PyErr_Occurred())
|
||||
goto done;
|
||||
#ifdef Py_UNICODE_WIDE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue