Home
last modified time | relevance | path

Searched refs:it_callable (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Objects/
Diterobject.c176 PyObject *it_callable; /* Set to NULL when iterator is exhausted */ member
188 it->it_callable = callable; in PyCallIter_New()
198 Py_XDECREF(it->it_callable); in calliter_dealloc()
206 Py_VISIT(it->it_callable); in calliter_traverse()
216 if (it->it_callable == NULL) { in calliter_iternext()
220 result = _PyObject_CallNoArg(it->it_callable); in calliter_iternext()
231 Py_CLEAR(it->it_callable); in calliter_iternext()
237 Py_CLEAR(it->it_callable); 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()