fix array object name

This commit is contained in:
Jeff Epler 2023-09-20 11:22:25 -05:00
parent fb2eb6a7d9
commit cd3ca6b6a6
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -467,7 +467,7 @@ STATIC mp_obj_t array_append(mp_obj_t self_in, mp_obj_t arg) {
self->free--;
return mp_const_none; // return None, as per CPython
}
MP_DEFINE_CONST_FUN_OBJ_2(mp_obj_array_append_obj, array_append);
MP_DEFINE_CONST_FUN_OBJ_2(array_append_obj, array_append);
STATIC mp_obj_t array_extend(mp_obj_t self_in, mp_obj_t arg_in) {
// self is not a memoryview, so we don't need to use (& TYPECODE_MASK)