diff options
Diffstat (limited to 'py/objarray.c')
-rw-r--r-- | py/objarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objarray.c b/py/objarray.c index d1bc08b150..4a70f9f7f5 100644 --- a/py/objarray.c +++ b/py/objarray.c @@ -161,7 +161,7 @@ STATIC const mp_method_t array_type_methods[] = { const mp_obj_type_t array_type = { { &mp_const_type }, - "array", + .name = MP_QSTR_array, .print = array_print, .make_new = array_make_new, .getiter = array_iterator_new, @@ -223,7 +223,7 @@ mp_obj_t array_it_iternext(mp_obj_t self_in) { STATIC const mp_obj_type_t array_it_type = { { &mp_const_type }, - "array_iterator", + .name = MP_QSTR_iterator, .iternext = array_it_iternext, }; |