/third_party/python/Doc/includes/ |
D | typestruct.h | 54 iternextfunc tp_iternext; member
|
/third_party/python/Python/ |
D | bltinmodule.c | 332 iternext = *Py_TYPE(it)->tp_iternext; in builtin_all() 381 iternext = *Py_TYPE(it)->tp_iternext; in builtin_any() 592 iternext = *Py_TYPE(it)->tp_iternext; in filter_next() 1339 PyObject *val = Py_TYPE(it)->tp_iternext(it); in map_next() 1453 res = (*Py_TYPE(it)->tp_iternext)(it); in builtin_next() 2745 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next() 2768 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next() 2798 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next()
|
D | hamt.c | 2608 .tp_iternext = (iternextfunc)hamt_baseiter_tp_iternext,
|
D | ceval.c | 2590 retval = Py_TYPE(receiver)->tp_iternext(receiver); in _PyEval_EvalFrameDefault() 4001 PyObject *next = (*Py_TYPE(iter)->tp_iternext)(iter); in _PyEval_EvalFrameDefault()
|
/third_party/python/Objects/ |
D | iterobject.c | 324 if (Py_TYPE(awaitable)->tp_iternext == NULL) { in anextawaitable_getiter() 373 PyObject *result = (*Py_TYPE(awaitable)->tp_iternext)(awaitable); in anextawaitable_iternext()
|
D | typeslots.inc | 64 {-1, offsetof(PyTypeObject, tp_iternext)},
|
D | enumobject.c | 163 next_item = (*Py_TYPE(it)->tp_iternext)(it); in enum_next()
|
D | abstract.c | 2850 return (tp->tp_iternext != NULL && in PyIter_Check() 2851 tp->tp_iternext != &_PyObject_NextNotImplemented); in PyIter_Check() 2874 result = (*Py_TYPE(iter)->tp_iternext)(iter); in PyIter_Next() 2898 *result = Py_TYPE(iter)->tp_iternext(iter); in PyIter_Send()
|
D | dictobject.c | 4123 .tp_iternext = (iternextfunc)dictreviter_iternext, 4166 .tp_iternext = (iternextfunc)dictreviter_iternext, 4178 .tp_iternext = (iternextfunc)dictreviter_iternext,
|
D | bytearrayobject.c | 859 iternext = *Py_TYPE(it)->tp_iternext; in bytearray___init___impl()
|
D | typeobject.c | 5910 COPYSLOT(tp_iternext); in inherit_slots() 7942 TPSLOT("__next__", tp_iternext, slot_tp_iternext, wrap_next, 8260 if (ptr == (void**)&type->tp_iternext) { in update_one_slot()
|
D | memoryobject.c | 3267 .tp_iternext = (iternextfunc)memoryiter_next,
|
D | listobject.c | 914 iternext = *Py_TYPE(it)->tp_iternext; in list_extend()
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 527 iternextfunc tp_iternext; 533 to the Python :meth:`__iter__` method, while :c:member:`~PyTypeObject.tp_iternext` 546 implement the :c:member:`~PyTypeObject.tp_iternext` handler. 549 and :c:member:`~PyTypeObject.tp_iternext`. An iterator's 551 to the iterator. Its :c:member:`~PyTypeObject.tp_iternext` handler should 553 If the iteration has reached the end, :c:member:`~PyTypeObject.tp_iternext` 557 occurs, :c:member:`~PyTypeObject.tp_iternext` should always set an exception
|
/third_party/python/Modules/ |
D | itertoolsmodule.c | 123 po->old = old = (*Py_TYPE(it)->tp_iternext)(it); in pairwise_next() 129 new = (*Py_TYPE(it)->tp_iternext)(it); in pairwise_next() 1341 iternext = *Py_TYPE(it)->tp_iternext; in dropwhile_next() 1506 item = (*Py_TYPE(it)->tp_iternext)(it); in takewhile_next() 1719 iternext = *Py_TYPE(it)->tp_iternext; in islice_next() 1920 args = (*Py_TYPE(it)->tp_iternext)(it); in starmap_next() 2094 item = (*Py_TYPE(lz->active)->tp_iternext)(lz->active); in chain_next() 3688 val = (*Py_TYPE(lz->it)->tp_iternext)(lz->it); in accumulate_next() 3886 PyObject *(*datanext)(PyObject *) = *Py_TYPE(data)->tp_iternext; in compress_next() 3887 PyObject *(*selectornext)(PyObject *) = *Py_TYPE(selectors)->tp_iternext; in compress_next() [all …]
|
D | _collectionsmodule.c | 374 iternext = *Py_TYPE(it)->tp_iternext; in consume_iterator() 414 iternext = *Py_TYPE(it)->tp_iternext; in deque_extend() 461 iternext = *Py_TYPE(it)->tp_iternext; in deque_extendleft()
|
D | _asynciomodule.c | 1770 .tp_iternext = (iternextfunc)FutureIter_iternext,
|
/third_party/python/Include/cpython/ |
D | object.h | 244 iternextfunc tp_iternext; member
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a6.rst | 517 :c:member:`PyTypeObject.tp_iternext` directly. Patch by Erlend E. Aasland.
|
D | 3.10.0rc1.rst | 256 rather than dereferencing the null ``tp_iternext`` slot and crashing.
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 103 …| :c:member:`~PyTypeObject.tp_iternext` | :c:type:`iternextfunc` | __next__ … 1536 .. c:member:: iternextfunc PyTypeObject.tp_iternext 1541 PyObject *tp_iternext(PyObject *self); 2550 See :c:member:`~PyTypeObject.tp_iternext`. 2634 0, /* tp_iternext */
|
/third_party/python/Doc/whatsnew/ |
D | 2.2.rst | 455 as iterators can define a :c:member:`~PyTypeObject.tp_iternext` function.
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 816 the :c:member:`~PyTypeObject.tp_iternext` slot of the type structure for
|
/third_party/python/Misc/ |
D | HISTORY | 24712 tp_iternext slot (in C). There's a new protocol to get iterators
|