Searched refs:it_sentinel (Results 1 – 2 of 2) sorted by relevance
176 PyObject *it_sentinel; /* Set to NULL when iterator is exhausted */ member189 it->it_sentinel = sentinel; in PyCallIter_New()198 Py_XDECREF(it->it_sentinel); in calliter_dealloc()206 Py_VISIT(it->it_sentinel); in calliter_traverse()223 ok = PyObject_RichCompareBool(it->it_sentinel, result, Py_EQ); in calliter_iternext()231 Py_CLEAR(it->it_sentinel); in calliter_iternext()237 Py_CLEAR(it->it_sentinel); in calliter_iternext()245 if (it->it_callable != NULL && it->it_sentinel != NULL) in calliter_reduce()247 it->it_callable, it->it_sentinel); in calliter_reduce()
139 PyObject *it_sentinel; /* Set to NULL when iterator is exhausted */ member152 it->it_sentinel = sentinel; in PyCallIter_New()161 Py_XDECREF(it->it_sentinel); in calliter_dealloc()169 Py_VISIT(it->it_sentinel); in calliter_traverse()186 it->it_sentinel, in calliter_iternext()193 Py_CLEAR(it->it_sentinel); in calliter_iternext()199 Py_CLEAR(it->it_sentinel); in calliter_iternext()