/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 53 getiterfunc tp_iter; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 51 getiterfunc tp_iter; member
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 507 getiterfunc tp_iter; 513 exception and return *NULL*. :c:member:`~PyTypeObject.tp_iter` corresponds 517 Any :term:`iterable` object must implement the :c:member:`~PyTypeObject.tp_iter` 523 each call to :c:member:`~PyTypeObject.tp_iter`. 525 iteration, such as file objects) can implement :c:member:`~PyTypeObject.tp_iter` 529 Any :term:`iterator` object should implement both :c:member:`~PyTypeObject.tp_iter` 531 :c:member:`~PyTypeObject.tp_iter` handler should return a new reference
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 63 offsetof(PyHeapTypeObject, ht_type.tp_iter),
|
D | abstract.c | 2521 f = t->tp_iter; in PyObject_GetIter()
|
D | typeobject.c | 5075 COPYSLOT(tp_iter); in inherit_slots() 6825 TPSLOT("__iter__", tp_iter, slot_tp_iter, wrap_unaryfunc,
|
D | dictobject.c | 2384 if (PyDict_Check(b) && (Py_TYPE(b)->tp_iter == (getiterfunc)dict_iter)) { in dict_merge()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 1448 getiterfunc tp_iter; 1453 iteration) must implement the ``tp_iter`` handler. Objects which are returned 1454 by a ``tp_iter`` handler must implement both the ``tp_iter`` and ``tp_iternext`` 1459 For an object which represents an iterable collection, the ``tp_iter`` handler 1469 Iterator objects should implement both handlers. The ``tp_iter`` handler should 1470 return a new reference to the iterator (this is the same as the ``tp_iter``
|
/external/python/cpython2/Include/ |
D | object.h | 376 getiterfunc tp_iter; member
|
/external/python/cpython3/Include/ |
D | object.h | 398 getiterfunc tp_iter; member
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 1449 .tp_iter = (getiterfunc)future_new_iter, 1641 .tp_iter = PyObject_SelfIter, 2423 .tp_iter = (getiterfunc)future_new_iter,
|
/external/python/cpython3/Python/ |
D | context.c | 664 .tp_iter = (getiterfunc)context_tp_iter,
|
D | hamt.c | 2625 .tp_iter = PyObject_SelfIter, \ 2917 .tp_iter = (getiterfunc)hamt_tp_iter,
|
D | ceval.c | 4101 v->ob_type->tp_iter == NULL && !PySequence_Check(v)) in unpack_iterable() 4927 if (args->ob_type->tp_iter == NULL && !PySequence_Check(args)) { in check_args_iterable()
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 506 If this bit is set, the type object has the :c:member:`~PyTypeObject.tp_iter` and 759 .. c:member:: getiterfunc PyTypeObject.tp_iter 780 Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` function, and that
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.2.rst | 453 own iterators. Extension types implemented in C can implement a :c:member:`~PyTypeObject.tp_iter` 481 sequences that don't implement :meth:`__iter__` or a :c:member:`~PyTypeObject.tp_iter` slot, so
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 674 .. c:member:: getiterfunc PyTypeObject.tp_iter 693 Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` function, and that
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.2.rst | 453 own iterators. Extension types implemented in C can implement a :c:member:`~PyTypeObject.tp_iter` 481 sequences that don't implement :meth:`__iter__` or a :c:member:`~PyTypeObject.tp_iter` slot, so
|
/external/python/cpython2/Objects/ |
D | abstract.c | 3087 f = t->tp_iter;
|
D | typeobject.c | 4089 COPYSLOT(tp_iter); 6073 TPSLOT("__iter__", tp_iter, slot_tp_iter, wrap_unaryfunc,
|
/external/python/cpython2/Doc/library/ |
D | stdtypes.rst | 632 :c:member:`~PyTypeObject.tp_iter` slot of the type structure for Python objects in the Python/C 643 This method corresponds to the :c:member:`~PyTypeObject.tp_iter` slot of the type structure for
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 548 return PyTuple_Type.tp_iter(SignalTuple); in signaldict_iter()
|
/external/python/cpython3/Doc/library/ |
D | stdtypes.rst | 763 :c:member:`~PyTypeObject.tp_iter` slot of the type structure for Python objects in the Python/C 774 This method corresponds to the :c:member:`~PyTypeObject.tp_iter` slot of the type structure for
|
/external/python/cpython2/Misc/ |
D | HISTORY | 4453 - Added PyObject_SelfIter() to fill the tp_iter slot for the 7334 using the __iter__() method (in Python) or the tp_iter slot (in C).
|
/external/python/cpython3/Misc/ |
D | HISTORY | 21837 - Added PyObject_SelfIter() to fill the tp_iter slot for the 24713 using the __iter__() method (in Python) or the tp_iter slot (in C).
|