py/modsys: Fix module globals table to use MP_ROM_QSTR.
This commit is contained in:
parent
67a5bfc6d8
commit
3911d5af32
@ -186,7 +186,7 @@ STATIC const mp_rom_map_elem_t mp_module_sys_globals_table[] = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MICROPY_PY_SYS_MODULES
|
#if MICROPY_PY_SYS_MODULES
|
||||||
{ MP_OBJ_NEW_QSTR(MP_QSTR_modules), MP_ROM_PTR(&MP_STATE_VM(mp_loaded_modules_dict)) },
|
{ MP_ROM_QSTR(MP_QSTR_modules), MP_ROM_PTR(&MP_STATE_VM(mp_loaded_modules_dict)) },
|
||||||
#endif
|
#endif
|
||||||
#if MICROPY_PY_SYS_EXC_INFO
|
#if MICROPY_PY_SYS_EXC_INFO
|
||||||
{ MP_ROM_QSTR(MP_QSTR_exc_info), MP_ROM_PTR(&mp_sys_exc_info_obj) },
|
{ MP_ROM_QSTR(MP_QSTR_exc_info), MP_ROM_PTR(&mp_sys_exc_info_obj) },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user