summaryrefslogtreecommitdiffstatshomepage
path: root/py/objinstance.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objinstance.c')
-rw-r--r--py/objinstance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objinstance.c b/py/objinstance.c
index fd8cada7cb..8ef2773fd9 100644
--- a/py/objinstance.c
+++ b/py/objinstance.c
@@ -99,7 +99,7 @@ const mp_obj_type_t instance_type = {
NULL, // binary_op
NULL, // getiter
NULL, // iternext
- {{NULL, NULL},}, // method list
+ .methods = {{NULL, NULL},},
};
mp_obj_t mp_obj_new_instance(mp_obj_t class) {