diff options
Diffstat (limited to 'py/objsingleton.c')
-rw-r--r-- | py/objsingleton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objsingleton.c b/py/objsingleton.c index 67535391e..2b896305c 100644 --- a/py/objsingleton.c +++ b/py/objsingleton.c @@ -47,6 +47,7 @@ const mp_obj_type_t mp_type_singleton = { { &mp_type_type }, .name = MP_QSTR_, .print = singleton_print, + .unary_op = mp_generic_unary_op, }; const mp_obj_singleton_t mp_const_ellipsis_obj = {{&mp_type_singleton}, MP_QSTR_Ellipsis}; |