summaryrefslogtreecommitdiff
path: root/py/objtuple.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-14 00:44:06 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-20 15:36:59 +1000
commit3f6ffe059f64b3ebc44dc0bbc63452cb8850702b (patch)
tree5bf2fe77ad624afccd08011ab05b19ab321b5d9c /py/objtuple.c
parent17f7c683d2790880ec9da70f7bc7e40c490c8796 (diff)
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
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.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions