summaryrefslogtreecommitdiffstatshomepage
path: root/py/objexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objexcept.c')
-rw-r--r--py/objexcept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objexcept.c b/py/objexcept.c
index ec03b9bf1a..22b8c58126 100644
--- a/py/objexcept.c
+++ b/py/objexcept.c
@@ -45,7 +45,7 @@ const mp_obj_type_t exception_type = {
NULL, // binary_op
NULL, // getiter
NULL, // iternext
- {{NULL, NULL},}, // method list
+ .methods = {{NULL, NULL},},
};
mp_obj_t mp_obj_new_exception(qstr id) {