Skip to content

Commit 66ecefc

Browse files
jdemeyermethane
authored andcommitted
Remove tp_print implementation (GH-7857)
1 parent 9b7cf75 commit 66ecefc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Modules/_sqlite/row.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@ PyObject* pysqlite_row_keys(pysqlite_Row* self, PyObject *Py_UNUSED(ignored))
176176
return list;
177177
}
178178

179-
static int pysqlite_row_print(pysqlite_Row* self, FILE *fp, int flags)
180-
{
181-
return (&PyTuple_Type)->tp_print(self->data, fp, flags);
182-
}
183-
184179
static PyObject* pysqlite_iter(pysqlite_Row* self)
185180
{
186181
return PyObject_GetIter(self->data);
@@ -235,7 +230,7 @@ PyTypeObject pysqlite_RowType = {
235230
sizeof(pysqlite_Row), /* tp_basicsize */
236231
0, /* tp_itemsize */
237232
(destructor)pysqlite_row_dealloc, /* tp_dealloc */
238-
(printfunc)pysqlite_row_print, /* tp_print */
233+
0, /* tp_print */
239234
0, /* tp_getattr */
240235
0, /* tp_setattr */
241236
0, /* tp_reserved */

0 commit comments

Comments
 (0)