diff options
author | jdemeyer <jdemeyer@cage.ugent.be> | 2018-06-23 12:08:43 (GMT) |
---|---|---|
committer | INADA Naoki <methane@users.noreply.github.com> | 2018-06-23 12:08:43 (GMT) |
commit | 66ecefcfe77348ce12d3a951e8e6cd3ad274b24a (patch) | |
tree | f0e280cc1de4604baccb39e2741647de0c16d706 /Modules | |
parent | 9b7cf757213cf4d7ae1d436d86ad53f5ba362d55 (diff) | |
download | cpython-66ecefcfe77348ce12d3a951e8e6cd3ad274b24a.zip cpython-66ecefcfe77348ce12d3a951e8e6cd3ad274b24a.tar.gz cpython-66ecefcfe77348ce12d3a951e8e6cd3ad274b24a.tar.bz2 |
Remove tp_print implementation (GH-7857)
Diffstat (limited to 'Modules')
-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 64872e8..2fc26a8 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c @@ -176,11 +176,6 @@ PyObject* pysqlite_row_keys(pysqlite_Row* self, PyObject *Py_UNUSED(ignored)) 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); @@ -235,7 +230,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_reserved */ |