From 2b1c592d22c16f3cb810625168ed1ce0c806d004 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 2 Dec 2007 22:43:00 +0000 Subject: Fixed a problem found by Bill Janssen on Mac OS X There was one occurence of PyInt_FromLong left in Parser/asdl_c.py. The files creates some C code. --- Parser/asdl_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 24b732c..15a752f 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -469,7 +469,7 @@ static PyObject* ast2obj_object(void *o) static PyObject* ast2obj_int(long b) { - return PyInt_FromLong(b); + return PyLong_FromLong(b); } """, 0, reflow=False) -- cgit v0.12