3f6ffe059f
This commit implements PEP479 which disallows raising StopIteration inside a generator to signal that it should be finished. Instead, the generator should simply return when it is complete. See https://www.python.org/dev/peps/pep-0479/ for details.
6 lines
44 B
Plaintext
6 lines
44 B
Plaintext
1
|
|
RuntimeError
|
|
StopIteration
|
|
1
|
|
RuntimeError
|