Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 44099:f324631462a2
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Sun, 02 Dec 2007 14:31:20 +0000 |
| parents | 0889daf6d0d9 |
| children | b91ca87e6f32 |
line wrap: on
line diff
--- a/Python/errors.c Sun Dec 02 09:40:06 2007 +0000 +++ b/Python/errors.c Sun Dec 02 14:31:20 2007 +0000 @@ -752,7 +752,7 @@ 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 {
