py/objpolyiter: Fix comment about finaliser method.

Signed-off-by: Damien George <damien@micropython.org>
pull/9303/head
Damien George 2022-09-13 21:14:22 +10:00
rodzic 6472348c1b
commit 74805435f9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ typedef struct _mp_obj_polymorph_iter_with_finaliser_t {
STATIC mp_obj_t mp_obj_polymorph_iter_del(mp_obj_t self_in) {
mp_obj_polymorph_with_finaliser_iter_t *self = MP_OBJ_TO_PTR(self_in);
// Redirect call to object instance's iternext method
// Redirect call to object instance's finaliser method
return self->finaliser(self_in);
}
STATIC MP_DEFINE_CONST_FUN_OBJ_1(mp_obj_polymorph_iter_del_obj, mp_obj_polymorph_iter_del);