diff options
Diffstat (limited to 'py/objcell.c')
-rw-r--r-- | py/objcell.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/py/objcell.c b/py/objcell.c index bedaf3d87f..264125bf3a 100644 --- a/py/objcell.c +++ b/py/objcell.c @@ -24,9 +24,8 @@ void mp_obj_cell_set(mp_obj_t self_in, mp_obj_t obj) { } const mp_obj_type_t cell_type = { - .base = { &mp_const_type }, - .name = "cell", - .methods = {{NULL, NULL},}, + { &mp_const_type }, + "cell", }; mp_obj_t mp_obj_new_cell(mp_obj_t obj) { |