Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/connection.c @ 44350:26384b8180c7 legacy-trunk
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Wed, 19 Dec 2007 02:37:44 +0000 |
| parents | 6620a510e9a9 |
| children | b7ee9074ca0e |
line wrap: on
line diff
--- a/Modules/_sqlite/connection.c Wed Dec 19 02:02:04 2007 +0000 +++ b/Modules/_sqlite/connection.c Wed Dec 19 02:37:44 2007 +0000 @@ -205,7 +205,7 @@ Py_XDECREF(self->collations); Py_XDECREF(self->statements); - Py_Type(self)->tp_free((PyObject*)self); + Py_TYPE(self)->tp_free((PyObject*)self); } PyObject* pysqlite_connection_cursor(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
