summaryrefslogtreecommitdiffstatshomepage
path: root/py/objnone.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objnone.c')
-rw-r--r--py/objnone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objnone.c b/py/objnone.c
index 877e61fe5c..173817a4df 100644
--- a/py/objnone.c
+++ b/py/objnone.c
@@ -18,7 +18,7 @@ const mp_obj_type_t none_type = {
{ &mp_const_type },
"NoneType",
.print = none_print,
- .methods = {{NULL, NULL},},
+ .methods = NULL,
};
static const mp_obj_none_t none_obj = {{&none_type}};