mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
a09ca3850f
commit
2b1c592d22
|
@ -469,7 +469,7 @@ static PyObject* ast2obj_object(void *o)
|
||||||
|
|
||||||
static PyObject* ast2obj_int(long b)
|
static PyObject* ast2obj_int(long b)
|
||||||
{
|
{
|
||||||
return PyInt_FromLong(b);
|
return PyLong_FromLong(b);
|
||||||
}
|
}
|
||||||
""", 0, reflow=False)
|
""", 0, reflow=False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue