diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-05-11 02:59:25 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-11 23:57:42 +0100 |
commit | d5e629ad0edf2c2b91f1964eb54c91fd6f6fc9d0 (patch) | |
tree | 077e99d8bc2254c405e5706cd85c4871977f22f9 /py/objtuple.c | |
parent | aa9dbb1b033a8163e07fcf5763fc20146354cc48 (diff) | |
download | micropython-d5e629ad0edf2c2b91f1964eb54c91fd6f6fc9d0.tar.gz micropython-d5e629ad0edf2c2b91f1964eb54c91fd6f6fc9d0.zip |
objgenerator: Can optimize StopIteration to STOP_ITERATION only if arg is None.
Unfortunately, MP_OBJ_STOP_ITERATION doesn't have means to pass an associated
value, so we can't optimize StopIteration exception with (non-None) argument
to MP_OBJ_STOP_ITERATION.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions