Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
3911d5af
Commit
3911d5af
authored
Dec 16, 2015
by
Damien George
Browse files
py/modsys: Fix module globals table to use MP_ROM_QSTR.
parent
67a5bfc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/modsys.c
View file @
3911d5af
...
...
@@ -186,7 +186,7 @@ STATIC const mp_rom_map_elem_t mp_module_sys_globals_table[] = {
#endif
#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
#if MICROPY_PY_SYS_EXC_INFO
{
MP_ROM_QSTR
(
MP_QSTR_exc_info
),
MP_ROM_PTR
(
&
mp_sys_exc_info_obj
)
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment