Searched refs:it_sentinel (Results 1 – 1 of 1) sorted by relevance
177 PyObject *it_sentinel; /* Set to NULL when iterator is exhausted */ member190 it->it_sentinel = sentinel; in PyCallIter_New()199 Py_XDECREF(it->it_sentinel); in calliter_dealloc()207 Py_VISIT(it->it_sentinel); in calliter_traverse()224 ok = PyObject_RichCompareBool(it->it_sentinel, result, Py_EQ); in calliter_iternext()232 Py_CLEAR(it->it_sentinel); in calliter_iternext()238 Py_CLEAR(it->it_sentinel); in calliter_iternext()246 if (it->it_callable != NULL && it->it_sentinel != NULL) in calliter_reduce()248 it->it_callable, it->it_sentinel); in calliter_reduce()