mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user