diff options
author | Guido van Rossum <guido@python.org> | 2007-08-07 19:58:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-07 19:58:47 (GMT) |
commit | 346f1a82bd525b3053d18a5b130ef2e70d4c1858 (patch) | |
tree | add400c9a261d9354d0de2d7fbc6adc8512b269a /Modules/_sqlite | |
parent | 04dbf3b5ec618956c9df58ce1d6e3dc089f5f095 (diff) | |
download | cpython-346f1a82bd525b3053d18a5b130ef2e70d4c1858.zip cpython-346f1a82bd525b3053d18a5b130ef2e70d4c1858.tar.gz cpython-346f1a82bd525b3053d18a5b130ef2e70d4c1858.tar.bz2 |
Kill remaining tp_print definitions.
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r-- | Modules/_sqlite/row.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c index 9ada8a9..6bd1887 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c @@ -159,11 +159,6 @@ PyObject* pysqlite_row_keys(pysqlite_Row* self, PyObject* args, PyObject* kwargs return list; } -static int pysqlite_row_print(pysqlite_Row* self, FILE *fp, int flags) -{ - return (&PyTuple_Type)->tp_print(self->data, fp, flags); -} - static PyObject* pysqlite_iter(pysqlite_Row* self) { return PyObject_GetIter(self->data); @@ -188,7 +183,7 @@ PyTypeObject pysqlite_RowType = { sizeof(pysqlite_Row), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)pysqlite_row_dealloc, /* tp_dealloc */ - (printfunc)pysqlite_row_print, /* tp_print */ + 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ |