diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-27 15:48:09 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-27 15:48:09 +1100 |
commit | a9f6d4921829195d7310aa8b07a4a705577161a5 (patch) | |
tree | bece9422d8668c9b3a22a0d256925da79d1836fe /tests/float/float_format.py | |
parent | 22ade2f5c4ac88c90a013cbf4b81c8d795487f33 (diff) |
py/vm: Simplify handling of special-case STOP_ITERATION in yield from.
There's no need to have MP_OBJ_NULL a special case, the code can re-use
the MP_OBJ_STOP_ITERATION value to signal the special case and the VM can
detect this with only one check (for MP_OBJ_STOP_ITERATION).
Diffstat (limited to 'tests/float/float_format.py')
0 files changed, 0 insertions, 0 deletions