summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.c b/py/objint.c
index 8d69c4e7a7..0ba42d10ce 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -34,7 +34,7 @@ const mp_obj_type_t int_type = {
{ &mp_const_type },
"int",
.make_new = int_make_new,
- .methods = { { NULL, NULL }, },
+ .methods = NULL,
};
mp_obj_t mp_obj_new_int(machine_int_t value) {