summaryrefslogtreecommitdiffstatshomepage
path: root/unix/moduselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/moduselect.c')
-rw-r--r--unix/moduselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/moduselect.c b/unix/moduselect.c
index f966efa412..76938329fc 100644
--- a/unix/moduselect.c
+++ b/unix/moduselect.c
@@ -288,7 +288,7 @@ STATIC MP_DEFINE_CONST_DICT(poll_locals_dict, poll_locals_dict_table);
STATIC const mp_obj_type_t mp_type_poll = {
{ &mp_type_type },
.name = MP_QSTR_poll,
- .getiter = mp_identity,
+ .getiter = mp_identity_getiter,
.iternext = poll_iternext,
.locals_dict = (void*)&poll_locals_dict,
};