summaryrefslogtreecommitdiff
path: root/py/objsingleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objsingleton.c')
-rw-r--r--py/objsingleton.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/py/objsingleton.c b/py/objsingleton.c
index dc73d28c2..6537676c5 100644
--- a/py/objsingleton.c
+++ b/py/objsingleton.c
@@ -45,8 +45,7 @@ STATIC void singleton_print(const mp_print_t *print, mp_obj_t self_in, mp_print_
MP_DEFINE_CONST_OBJ_TYPE(
mp_type_singleton, MP_QSTR_, MP_TYPE_FLAG_NONE,
- print, singleton_print,
- unary_op, mp_generic_unary_op
+ print, singleton_print
);
const mp_obj_singleton_t mp_const_ellipsis_obj = {{&mp_type_singleton}, MP_QSTR_Ellipsis};