mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue