Don't pre-import array module.
This commit is contained in:
parent
11973b48b5
commit
0dd0467a97
|
@ -130,7 +130,6 @@ void rt_init(void) {
|
|||
|
||||
mp_obj_t m_array = mp_obj_new_module(MP_QSTR_array);
|
||||
rt_store_attr(m_array, MP_QSTR_array, (mp_obj_t)&array_type);
|
||||
rt_store_name(MP_QSTR_array, m_array);
|
||||
|
||||
// built-in user functions
|
||||
mp_map_add_qstr(&map_builtins, MP_QSTR_abs, (mp_obj_t)&mp_builtin_abs_obj);
|
||||
|
|
Loading…
Reference in New Issue