summaryrefslogtreecommitdiffstatshomepage
path: root/py/objboundmeth.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objboundmeth.c')
-rw-r--r--py/objboundmeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objboundmeth.c b/py/objboundmeth.c
index 264c2effd4..4e6d2e0103 100644
--- a/py/objboundmeth.c
+++ b/py/objboundmeth.c
@@ -43,7 +43,7 @@ const mp_obj_type_t bound_meth_type = {
NULL, // binary_op
NULL, // getiter
NULL, // iternext
- {{NULL, NULL},}, // method list
+ .methods = {{NULL, NULL},},
};
mp_obj_t mp_obj_new_bound_meth(mp_obj_t self, mp_obj_t meth) {