diff options
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); |