functions with different signatures.
PyErr_BadInternalCall();
return NULL;
}
- if (seq->ob_type->tp_as_sequence->sq_item != list_item)
+ if (seq->ob_type->tp_as_sequence->sq_item != (intargfunc)list_item)
return PySeqIter_New(seq);
it = PyObject_GC_New(listiterobject, &PyListIter_Type);
if (it == NULL)
PyErr_BadInternalCall();
return NULL;
}
- if (seq->ob_type->tp_as_sequence->sq_item != tupleitem)
+ if (seq->ob_type->tp_as_sequence->sq_item != (intargfunc)tupleitem)
return PySeqIter_New(seq);
it = PyObject_GC_New(tupleiterobject, &PyTupleIter_Type);
if (it == NULL)