diff options
Diffstat (limited to 'py/objlist.c')
-rw-r--r-- | py/objlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objlist.c b/py/objlist.c index 1030a862a2..244d4a5960 100644 --- a/py/objlist.c +++ b/py/objlist.c @@ -408,6 +408,7 @@ mp_obj_t list_it_iternext(mp_obj_t self_in) { STATIC const mp_obj_type_t mp_type_list_it = { { &mp_type_type }, .name = MP_QSTR_iterator, + .getiter = mp_identity, .iternext = list_it_iternext, }; |