diff Python/traceback.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 19319e70fc3e
children 565012d1123d
line wrap: on
line diff
--- a/Python/traceback.c	Sun Dec 02 09:40:06 2007 +0000
+++ b/Python/traceback.c	Sun Dec 02 14:31:20 2007 +0000
@@ -256,7 +256,7 @@
 	}
 	limitv = PySys_GetObject("tracebacklimit");
 	if (limitv && PyInt_CheckExact(limitv)) {
-		limit = PyInt_AsLong(limitv);
+		limit = PyLong_AsLong(limitv);
 		if (limit <= 0)
 			return 0;
 	}