summaryrefslogtreecommitdiffstatshomepage
path: root/py/objset.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objset.c')
-rw-r--r--py/objset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objset.c b/py/objset.c
index 2cabf6c509..439c6e96e6 100644
--- a/py/objset.c
+++ b/py/objset.c
@@ -72,6 +72,7 @@ STATIC mp_obj_t set_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_
const mp_obj_type_t mp_type_set_it = {
{ &mp_type_type },
.name = MP_QSTR_iterator,
+ .getiter = mp_identity,
.iternext = set_it_iternext,
};