File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,18 @@ PyObject* pysqlite_row_item(pysqlite_Row* self, Py_ssize_t idx)
96
96
return Py_XNewRef (item );
97
97
}
98
98
99
- static int pysqlite_row_contains (PyObject * self , PyObject * arg )
99
+ static int
100
+ pysqlite_row_contains (pysqlite_Row * self , PyObject * arg )
100
101
{
101
102
Py_ssize_t nitems , i ;
102
103
int cmp = 0 ;
103
- pysqlite_Row * row = (pysqlite_Row * )self ;
104
104
105
- nitems = PyTuple_Size (row -> description );
105
+ nitems = PyTuple_Size (self -> description );
106
106
107
107
for (i = 0 ; cmp == 0 && i < nitems ; i ++ ) {
108
108
cmp = PyObject_RichCompareBool (
109
109
arg ,
110
- PyTuple_GET_ITEM (PyTuple_GET_ITEM (row -> description , i ), 0 ),
110
+ PyTuple_GET_ITEM (PyTuple_GET_ITEM (self -> description , i ), 0 ),
111
111
Py_EQ
112
112
);
113
113
}
You can’t perform that action at this time.
0 commit comments