Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/module.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 | 0d462d789b18 |
| children | e06e08e8fdce |
line wrap: on
line diff
--- a/Modules/_sqlite/module.c Sun Dec 02 09:40:06 2007 +0000 +++ b/Modules/_sqlite/module.c Sun Dec 02 14:31:20 2007 +0000 @@ -351,7 +351,7 @@ /* Set integer constants */ for (i = 0; _int_constants[i].constant_name != 0; i++) { - tmp_obj = PyInt_FromLong(_int_constants[i].constant_value); + tmp_obj = PyLong_FromLong(_int_constants[i].constant_value); if (!tmp_obj) { goto error; }
