diff options
Diffstat (limited to 'py/objslice.c')
-rw-r--r-- | py/objslice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objslice.c b/py/objslice.c index b62c4e09ba..66a3c7a7a7 100644 --- a/py/objslice.c +++ b/py/objslice.c @@ -23,7 +23,7 @@ void ellipsis_print(void (*print)(void *env, const char *fmt, ...), void *env, m const mp_obj_type_t ellipsis_type = { { &mp_const_type }, - "ellipsis", + .name = MP_QSTR_Ellipsis, .print = ellipsis_print, }; @@ -50,7 +50,7 @@ void slice_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_o const mp_obj_type_t slice_type = { { &mp_const_type }, - "slice", + .name = MP_QSTR_slice, .print = slice_print, }; |