diff options
| author | Damien George <damien@micropython.org> | 2022-09-13 21:14:22 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-09-13 21:14:22 +1000 |
| commit | 74805435f9459ceae4ea6044a767de4a5479e6c8 (patch) | |
| tree | ee23903205964c551771aea99424b9fe522d0fdf /py/objpolyiter.c | |
| parent | 6472348c1b2559105e1b2f912a58566b9900e9c1 (diff) | |
py/objpolyiter: Fix comment about finaliser method.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objpolyiter.c')
| -rw-r--r-- | py/objpolyiter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objpolyiter.c b/py/objpolyiter.c index 16fd1f486..dac6a2545 100644 --- a/py/objpolyiter.c +++ b/py/objpolyiter.c @@ -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); |
