diff options
Diffstat (limited to 'py/objslice.c')
-rw-r--r-- | py/objslice.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/py/objslice.c b/py/objslice.c index 7983864b2c..5b99c992b6 100644 --- a/py/objslice.c +++ b/py/objslice.c @@ -32,27 +32,6 @@ #include "py/runtime0.h" /******************************************************************************/ -/* ellipsis object, a singleton */ - -typedef struct _mp_obj_ellipsis_t { - mp_obj_base_t base; -} mp_obj_ellipsis_t; - -STATIC void ellipsis_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { - (void)self_in; - (void)kind; - mp_print_str(print, "Ellipsis"); -} - -const mp_obj_type_t mp_type_ellipsis = { - { &mp_type_type }, - .name = MP_QSTR_Ellipsis, - .print = ellipsis_print, -}; - -const mp_obj_ellipsis_t mp_const_ellipsis_obj = {{&mp_type_ellipsis}}; - -/******************************************************************************/ /* slice object */ #if MICROPY_PY_BUILTINS_SLICE |