diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-02 14:31:20 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-02 14:31:20 +0000 |
commit | b322e41d3672c465db3aca80419689f1902c6612 (patch) | |
tree | 0a4fb14529a5f623c49b0bca97d9af5d2677c056 /Python/traceback.c | |
parent | 7d4a05a4ebffb688137ca5b5a92825a756927e7e (diff) | |
download | cpython-b322e41d3672c465db3aca80419689f1902c6612.tar.gz |
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 9d7a2e0b87..df2a3a302e 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -256,7 +256,7 @@ PyTraceBack_Print(PyObject *v, PyObject *f) } limitv = PySys_GetObject("tracebacklimit"); if (limitv && PyInt_CheckExact(limitv)) { - limit = PyInt_AsLong(limitv); + limit = PyLong_AsLong(limitv); if (limit <= 0) return 0; } |