diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-02 22:43:00 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-02 22:43:00 (GMT) |
commit | 2b1c592d22c16f3cb810625168ed1ce0c806d004 (patch) | |
tree | bdaf8c2cfec5e413241b06f3d25eb8e1403f2409 /Parser/asdl_c.py | |
parent | a09ca3850f0c9169bb391bc6b1ee958c7cab89c2 (diff) | |
download | cpython-2b1c592d22c16f3cb810625168ed1ce0c806d004.zip cpython-2b1c592d22c16f3cb810625168ed1ce0c806d004.tar.gz cpython-2b1c592d22c16f3cb810625168ed1ce0c806d004.tar.bz2 |
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.
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |