diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-26 19:27:58 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-26 19:27:58 +0000 |
commit | 66eaf84b8c2db6afad7ec49eb296a019a2f377df (patch) | |
tree | a05406b020ba4102ffd90fdfb5357a301b9de637 /py/stream.c | |
parent | 688e220d268609ec1a5be7a9b532637fe8c1f765 (diff) | |
download | micropython-66eaf84b8c2db6afad7ec49eb296a019a2f377df.tar.gz micropython-66eaf84b8c2db6afad7ec49eb296a019a2f377df.zip |
py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.
Diffstat (limited to 'py/stream.c')
-rw-r--r-- | py/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/stream.c b/py/stream.c index 7c97ee10c3..a0a2c68f80 100644 --- a/py/stream.c +++ b/py/stream.c @@ -154,7 +154,7 @@ mp_obj_t mp_stream_unbuffered_iter(mp_obj_t self) { if (sz != 0) { return l_in; } - return mp_const_stop_iteration; + return MP_OBJ_NULL; } MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_stream_read_obj, 1, 2, stream_read); |