Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 44099:f324631462a2
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Sun, 02 Dec 2007 14:31:20 +0000 |
| parents | 704e6711e50d |
| children | 7dd2c1746267 |
comparison
equal
deleted
inserted
replaced
| 44098:0889daf6d0d9 | 44099:f324631462a2 |
|---|---|
| 462 #define ast2obj_identifier ast2obj_object | 462 #define ast2obj_identifier ast2obj_object |
| 463 #define ast2obj_string ast2obj_object | 463 #define ast2obj_string ast2obj_object |
| 464 | 464 |
| 465 static PyObject* ast2obj_int(long b) | 465 static PyObject* ast2obj_int(long b) |
| 466 { | 466 { |
| 467 return PyInt_FromLong(b); | 467 return PyLong_FromLong(b); |
| 468 } | 468 } |
| 469 | 469 |
| 470 static int init_types(void) | 470 static int init_types(void) |
| 471 { | 471 { |
| 472 static int initialized; | 472 static int initialized; |
