summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-02 14:31:20 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-02 14:31:20 +0000
commitb322e41d3672c465db3aca80419689f1902c6612 (patch)
tree0a4fb14529a5f623c49b0bca97d9af5d2677c056 /Python/traceback.c
parent7d4a05a4ebffb688137ca5b5a92825a756927e7e (diff)
downloadcpython-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.c2
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;
}