all: Remove 'name' member from mp_obj_module_t struct.
One can instead lookup __name__ in the modules dict to get the value.
This commit is contained in:
@@ -145,6 +145,5 @@ STATIC MP_DEFINE_CONST_DICT(mp_module_micropython_globals, mp_module_micropython
|
||||
|
||||
const mp_obj_module_t mp_module_micropython = {
|
||||
.base = { &mp_type_module },
|
||||
.name = MP_QSTR_micropython,
|
||||
.globals = (mp_obj_dict_t*)&mp_module_micropython_globals,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user