Commit 2b1c592d authored by Christian Heimes's avatar Christian Heimes

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.
parent a09ca385
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment