Home
last modified time | relevance | path

Searched refs:__iter__ (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/external/python/cpython3/Doc/library/
Dcollections.abc.rst42 :class:`Iterable` ``__iter__``
43 :class:`Iterator` :class:`Iterable` ``__next__`` ``__iter__``
45 :class:`Generator` :class:`Iterator` ``send``, ``throw`` ``close``, ``__iter__``, …
49 :class:`Iterable`, ``__iter__``,
52 … :class:`Reversible`, ``__getitem__``, ``__contains__``, ``__iter__``, ``__reversed__…
65 … ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
69 … ``__iter__``, ``clear``, ``pop``, ``remove``, ``__ior__``,
75 … ``__iter__``, ``get``, ``__eq__``, and ``__ne__``
81 ``__iter__``,
87 :class:`Set` ``__iter__``
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py51 mock1.__iter__ = Mock(return_value=iter([]))
242 mock.__iter__ = lambda s: iter('foobarbaz')
249 mock.__iter__.return_value = iter([1, 2, 3])
293 def __iter__(self): member in TestMockingMagicMethods.test_magic_methods_and_spec.Iterable
297 self.assertRaises(AttributeError, lambda: mock.__iter__)
299 mock.__iter__ = Mock(return_value=iter([]))
305 self.assertRaises(AttributeError, lambda: mock.__iter__)
318 def __iter__(self): member in TestMockingMagicMethods.test_magic_methods_and_spec_set.Iterable
322 self.assertRaises(AttributeError, lambda: mock.__iter__)
324 mock.__iter__ = Mock(return_value=iter([]))
[all …]
/external/python/mock/mock/tests/
Dtestmagicmethods.py70 mock1.__iter__ = Mock(return_value=iter([]))
285 mock.__iter__ = lambda s: iter('foobarbaz')
292 mock.__iter__.return_value = iter([1, 2, 3])
356 def __iter__(self): member in TestMockingMagicMethods.test_magic_methods_and_spec.Iterable
360 self.assertRaises(AttributeError, lambda: mock.__iter__)
362 mock.__iter__ = Mock(return_value=iter([]))
368 self.assertRaises(AttributeError, lambda: mock.__iter__)
381 def __iter__(self): member in TestMockingMagicMethods.test_magic_methods_and_spec_set.Iterable
385 self.assertRaises(AttributeError, lambda: mock.__iter__)
387 mock.__iter__ = Mock(return_value=iter([]))
[all …]
/external/tensorflow/tensorflow/python/training/tracking/
Dobject_identity.py87 def __iter__(self): member in ObjectIdentityDictionary
102 def __iter__(self): member in ObjectIdentityWeakKeyDictionary
133 def __iter__(self): member in ObjectIdentitySet
149 def __iter__(self): member in ObjectIdentityWeakSet
/external/scapy/scapy/
Dbase_classes.py21 def __iter__(self): member in Gen
39 def __iter__(self): member in SetGen
85 return next(self.__iter__())
89 def __iter__(self): member in Net
137 def __iter__(self): member in OID
/external/python/cpython2/Lib/test/
Dseq_tests.py28 def __iter__(self): member in IterFunc
41 def __iter__(self): member in IterGen
61 def __iter__(self): member in IterNoNext
69 def __iter__(self): member in IterGenExc
78 def __iter__(self): member in IterFuncStop
89 def __iter__(self): member in LyingTuple
93 def __iter__(self): member in LyingList
Dtest_enumerate.py18 def __iter__(self): member in I
31 def __iter__(self): member in Ig
51 def __iter__(self): member in E
61 def __iter__(self): member in N
Dtest_iter.py37 def __iter__(self): member in IteratingSequenceClass
139 def __iter__(self): member in TestCase.test_new_style_iter_class.IterClass
358 def __iter__(self): member in TestCase.test_builtin_filter.Seq
363 def __iter__(self): member in TestCase.test_builtin_filter.Seq.__iter__.SeqIter
470 def __iter__(self): member in TestCase.test_builtin_zip.IntsFrom
551 def __iter__(self): member in TestCase.test_unicode_join_endcase.OhPhooey
727 def __iter__(self): member in TestCase.test_writelines.Iterator
735 def __iter__(self): member in TestCase.test_writelines.Whatever
909 def __iter__(self): member in TestCase.test_3720.BadIterator
Dtest_iterlen.py202 def __iter__(self): return iter(range(10)) member in BadLen
207 def __iter__(self): return iter(range(10)) member in BadLengthHint
212 def __iter__(self): return iter(range(10)) member in NoneLengthHint
/external/python/cpython3/Lib/test/
Dtest_collections.py795 def __iter__(self): member in TestOneTrickPonyABCs.test_Iterable.I
796 return super().__iter__()
803 def __iter__(self): return iter([]) member in TestOneTrickPonyABCs.test_Iterable.It
805 __iter__ = None variable in TestOneTrickPonyABCs.test_Iterable.ItBlocked
838 def __iter__(self): member in TestOneTrickPonyABCs.test_Reversible.R
849 def __iter__(self): return iter([]) member in TestOneTrickPonyABCs.test_Reversible.RevPlusIter
856 def __iter__(self): return iter([]) member in TestOneTrickPonyABCs.test_Reversible.Rev
859 __iter__ = None variable in TestOneTrickPonyABCs.test_Reversible.RevItBlocked
897 def __iter__(self): member in TestOneTrickPonyABCs.test_Collection.Col
919 def __iter__(self): return iter([]) member in TestOneTrickPonyABCs.test_Collection.ColNoSize
[all …]
Dtest_iter.py35 def __iter__(self): member in BasicIterClass
41 def __iter__(self): member in IteratingSequenceClass
63 __iter__ = None variable in NoIterClass
215 def __iter__(self): member in TestCase.test_new_style_iter_class.IterClass
427 def __iter__(self): member in TestCase.test_builtin_filter.Seq
432 def __iter__(self): member in TestCase.test_builtin_filter.Seq.__iter__.SeqIter
532 def __iter__(self): member in TestCase.test_builtin_zip.IntsFrom
598 def __iter__(self): member in TestCase.test_unicode_join_endcase.OhPhooey
774 def __iter__(self): member in TestCase.test_writelines.Iterator
782 def __iter__(self): member in TestCase.test_writelines.Whatever
[all …]
Dseq_tests.py29 def __iter__(self): member in IterFunc
42 def __iter__(self): member in IterGen
62 def __iter__(self): member in IterNoNext
70 def __iter__(self): member in IterGenExc
79 def __iter__(self): member in IterFuncStop
90 def __iter__(self): member in LyingTuple
94 def __iter__(self): member in LyingList
Dtest_enumerate.py20 def __iter__(self): member in I
33 def __iter__(self): member in Ig
53 def __iter__(self): member in E
63 def __iter__(self): member in N
Dtest_iterlen.py188 def __iter__(self): member in BadLen
196 def __iter__(self): member in BadLengthHint
204 def __iter__(self): member in NoneLengthHint
/external/python/cpython2/Doc/library/
Dabc.rst96 def __iter__(self):
101 return self.__iter__()
106 if any("__iter__" in B.__dict__ for B in C.__mro__):
113 :meth:`~iterator.__iter__`, as an abstract method. The implementation given
119 that has an :meth:`~iterator.__iter__` method in its
124 even though it does not define an :meth:`~iterator.__iter__` method (it uses
/external/python/cpython2/Lib/
D_abcoll.py59 def __iter__(self): member in Iterable
80 def __iter__(self): member in Iterator
452 def __iter__(self): member in KeysView
473 def __iter__(self): member in ItemsView
487 def __iter__(self): member in ValuesView
601 def __iter__(self): member in Sequence
DUserDict.py113 def __iter__(self): member in IterableUserDict
129 def __iter__(self): member in DictMixin
146 return self.__iter__()
/external/tensorflow/tensorflow/python/platform/
Dflags.py105 def __iter__(self): member in _FlagValuesWrapper
106 return self.__dict__['__wrapped'].__iter__()
/external/python/cpython3/Lib/
D_collections_abc.py248 def __iter__(self): member in Iterable
268 def __iter__(self): member in Iterator
719 def __iter__(self): member in KeysView
742 def __iter__(self): member in ItemsView
760 def __iter__(self): member in ValuesView
879 def __iter__(self): member in Sequence
/external/llvm/bindings/python/llvm/
Dcore.py235 def __iter__(self): member in Module.__function_iterator
248 def __iter__(self): member in Module
303 def __iter__(self): member in Function.__bb_iterator
316 def __iter__(self): member in Function
380 def __iter__(self): member in BasicBlock.__inst_iterator
393 def __iter__(self): member in BasicBlock
/external/libchrome/third_party/jinja2/
Druntime.py450 def __iter__(self): member in LoopContext
468 def __iter__(self): member in LoopContextIterator
665 def __iter__(self): member in Undefined
734 def __iter__(self): member in make_logging_undefined.LoggingUndefined
735 rv = base.__iter__(self)
806 __iter__ = __str__ = __len__ = __nonzero__ = __eq__ = \ variable in StrictUndefined
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/
Dcore.py235 def __iter__(self): member in Module.__function_iterator
248 def __iter__(self): member in Module
303 def __iter__(self): member in Function.__bb_iterator
316 def __iter__(self): member in Function
380 def __iter__(self): member in BasicBlock.__inst_iterator
393 def __iter__(self): member in BasicBlock
/external/llvm/utils/gdb-scripts/
Dprettyprinters.py37 def __iter__(self): member in SmallVectorPrinter._iterator
77 def __iter__(self): member in ArrayRefPrinter._iterator
/external/vixl/tools/test_generator/
Ddata_types.py48 def __iter__(): member in OperandBase
97 def __iter__(self): member in Operand
139 def __iter__(self): member in OperandWrapper
/external/python/cpython2/Lib/wsgiref/
Dvalidate.py210 def __iter__(self): member in InputWrapper
253 def __iter__(self): member in PartialIteratorWrapper
265 def __iter__(self): member in IteratorWrapper

12345678910>>...14