summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modtermios.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-10 00:41:34 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-05-10 00:41:49 +0300
commit4ed7b7f751b161420e6979927fd0756467a10cb7 (patch)
tree1c1d484269c9a5afe6886d1cf13ec1ea3c5b3f4c /unix/modtermios.c
parenta37d13c95d1e91bc278ff01e8315d8389a218828 (diff)
downloadmicropython-4ed7b7f751b161420e6979927fd0756467a10cb7.tar.gz
micropython-4ed7b7f751b161420e6979927fd0756467a10cb7.zip
py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION.
Testing for incorrect value led to premature termination of generator containing yield from for such iterator (e.g. "yield from [1, 2]").
Diffstat (limited to 'unix/modtermios.c')
0 files changed, 0 insertions, 0 deletions