mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -752,7 +752,7 @@ PyErr_SyntaxLocation(const char *filename, int lineno)
|
|||
PyErr_NormalizeException(&exc, &v, &tb);
|
||||
/* XXX check that it is, indeed, a syntax error. It might not
|
||||
* be, though. */
|
||||
tmp = PyInt_FromLong(lineno);
|
||||
tmp = PyLong_FromLong(lineno);
|
||||
if (tmp == NULL)
|
||||
PyErr_Clear();
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue