summaryrefslogtreecommitdiffstatshomepage
path: root/py/objset.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objset.c')
-rw-r--r--py/objset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objset.c b/py/objset.c
index 826f8bdc86..dd9a4d1e1d 100644
--- a/py/objset.c
+++ b/py/objset.c
@@ -64,7 +64,7 @@ const mp_obj_type_t set_type = {
NULL, // binary_op
NULL, // getiter
NULL, // iternext
- { { NULL, NULL }, }, // method list
+ .methods = { { NULL, NULL }, },
};
mp_obj_t mp_obj_new_set(int n_args, mp_obj_t *items) {