Searched refs:StopIteration (Results 1 – 25 of 364) sorted by relevance
12345678910>>...15
/external/python/cpython3/Lib/test/ |
D | test_generator_stop.py | 9 raise StopIteration 18 raise StopIteration 25 self.assertIs(type(exc.__cause__), StopIteration) 26 self.assertIs(type(exc.__context__), StopIteration)
|
D | test_asyncgen.py | 30 except StopIteration as ex: 104 except StopIteration: 119 except StopIteration as ex: 158 except StopIteration as ex: 194 except StopIteration as ex: 214 raise StopIteration 404 except StopIteration as ex: 426 except StopIteration as ex: 433 except StopIteration as ex: 440 except StopIteration as ex: [all …]
|
D | test_yield_from.py | 168 except StopIteration: 214 except StopIteration: 348 e = StopIteration() 350 e = StopIteration("spam") 385 for v in 1, (2,), StopIteration(3): 680 except StopIteration as e: 690 f(StopIteration(3)) 722 except StopIteration as e: 733 f(StopIteration(3)) 774 for value in 2, (2,), StopIteration(2): [all …]
|
D | test_enumerate.py | 23 if self.i >= len(self.seqn): raise StopIteration 43 if self.i >= len(self.seqn): raise StopIteration 78 except StopIteration: 103 self.assertRaises(StopIteration, next, e) 108 self.assertRaises(StopIteration, next, e) 113 self.assertRaises(StopIteration, next, e) 160 raise StopIteration
|
D | test_generators.py | 44 self.assertIs(type(exc), StopIteration) 107 with self.assertRaises(StopIteration) as cm: 278 raise StopIteration 289 raise StopIteration 304 with self.assertRaises(StopIteration) as cm: 314 with self.assertRaises(StopIteration) as cm: 315 gen.send(StopIteration(2)) 316 self.assertIsInstance(cm.exception.value, StopIteration) 1346 _StopIteration = StopIteration # make local because caught a *lot*
|
D | test_coroutines.py | 38 except StopIteration as ex: 57 except StopIteration as ex: 527 raise StopIteration 536 raise StopIteration 544 raise StopIteration 607 with self.assertRaises(StopIteration): 751 with self.assertRaisesRegex(StopIteration, 'spam'): 796 with self.assertRaisesRegex(StopIteration, 'spam'): 822 with self.assertRaisesRegex(StopIteration, 'spam'): 891 return StopIteration(10) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_bsddb.py | 75 except StopIteration: 88 except StopIteration: 101 except StopIteration: 111 except StopIteration: 122 except StopIteration: 132 except StopIteration: 142 except StopIteration: 155 except StopIteration: 234 except StopIteration: 247 except StopIteration:
|
D | test_enumerate.py | 21 if self.i >= len(self.seqn): raise StopIteration 41 if self.i >= len(self.seqn): raise StopIteration 79 self.assertRaises(StopIteration, e.next) 84 self.assertRaises(StopIteration, e.next) 89 self.assertRaises(StopIteration, e.next) 136 raise StopIteration
|
D | test_itertools.py | 42 raise StopIteration 654 r1 = Repeater(1, 3, StopIteration) 655 r2 = Repeater(2, 4, StopIteration) 668 r2 = Repeater(2, 4, StopIteration) 875 self.assertRaises(StopIteration, t.next) 988 self.assertRaises(StopIteration, izip().next) 991 self.assertRaises(StopIteration, f([]).next) 992 self.assertRaises(StopIteration, f(StopNow()).next) 994 self.assertRaises(StopIteration, islice([], None).next) 995 self.assertRaises(StopIteration, islice(StopNow(), None).next) [all …]
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementPath.py | 119 except StopIteration: 156 except StopIteration: 281 except StopIteration: 287 except StopIteration: 293 except StopIteration: 322 except StopIteration:
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | strip_js_comments.py | 55 except StopIteration: 64 except StopIteration: 77 except StopIteration:
|
/external/python/cpython2/Lib/ |
D | contextlib.py | 18 except StopIteration: 25 except StopIteration: 37 except StopIteration, exc:
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/gdb-scripts/ |
D | prettyprinters.py | 48 raise StopIteration 73 raise StopIteration 106 raise StopIteration 126 raise StopIteration 129 raise StopIteration 172 raise StopIteration
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | writer_test.py | 102 self.assertRaises(StopIteration, lambda: next(rr)) 176 self.assertRaises(StopIteration, lambda: next(rr)) 261 self.assertRaises(StopIteration, lambda: next(rr)) 275 self.assertRaises(StopIteration, lambda: next(rr)) 359 self.assertRaises(StopIteration, lambda: next(rr)) 419 self.assertRaises(StopIteration, lambda: next(rr)) 518 self.assertRaises(StopIteration, lambda: next(events)) 524 self.assertRaises(StopIteration, lambda: next(events)) 527 self.assertRaises(StopIteration, lambda: next(event_paths)) 589 self.assertRaises(StopIteration, lambda: next(events)) [all …]
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementPath.py | 264 except StopIteration: 270 except StopIteration: 286 except StopIteration: 302 except StopIteration:
|
/external/autotest/tko/parsers/ |
D | base.py | 30 except StopIteration: 50 except StopIteration:
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 113 except StopIteration: 120 except StopIteration: 131 except StopIteration as exc: 143 if type is StopIteration and exc.__cause__ is value: 201 if isinstance(value, (StopIteration, StopAsyncIteration)):
|
D | _collections_abc.py | 123 raise StopIteration 143 except (GeneratorExit, StopIteration): 266 raise StopIteration 324 raise StopIteration 344 except (GeneratorExit, StopIteration): 591 except StopIteration: 810 except StopIteration:
|
D | heapq.py | 351 except StopIteration: 361 except StopIteration: 375 except StopIteration: 387 except StopIteration:
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/ |
D | _service.py | 27 raise StopIteration() 63 except StopIteration:
|
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
D | _client_application.py | 80 raise StopIteration() 113 except StopIteration: 139 except StopIteration:
|
/external/python/cpython2/Lib/json/ |
D | scanner.py | 32 raise StopIteration 63 raise StopIteration
|
/external/python/cpython3/Lib/json/ |
D | scanner.py | 32 raise StopIteration(idx) from None 63 raise StopIteration(idx)
|
/external/eigen/debug/gdb/ |
D | printers.py | 101 raise StopIteration 109 raise StopIteration 165 raise StopIteration
|
/external/python/cpython3/Doc/includes/ |
D | mp_pool.py | 111 except StopIteration: 143 except StopIteration:
|
12345678910>>...15