diff options
Diffstat (limited to 'py/objgetitemiter.c')
-rw-r--r-- | py/objgetitemiter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objgetitemiter.c b/py/objgetitemiter.c index fff3f3807f..09235640a8 100644 --- a/py/objgetitemiter.c +++ b/py/objgetitemiter.c @@ -19,7 +19,7 @@ STATIC mp_obj_t it_iternext(mp_obj_t self_in) { nlr_buf_t nlr; if (nlr_push(&nlr) == 0) { // try to get next item - mp_obj_t value = rt_call_method_n_kw(1, 0, self->args); + mp_obj_t value = mp_call_method_n_kw(1, 0, self->args); self->args[2] = MP_OBJ_NEW_SMALL_INT(MP_OBJ_SMALL_INT_VALUE(self->args[2]) + 1); nlr_pop(); return value; @@ -41,7 +41,7 @@ STATIC const mp_obj_type_t it_type = { .iternext = it_iternext }; -// args are those returned from rt_load_method_maybe (ie either an attribute or a method) +// args are those returned from mp_load_method_maybe (ie either an attribute or a method) mp_obj_t mp_obj_new_getitem_iter(mp_obj_t *args) { mp_obj_getitem_iter_t *o = m_new_obj(mp_obj_getitem_iter_t); o->base.type = &it_type; |