mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
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:
@@ -89,7 +89,6 @@ STATIC MP_DEFINE_CONST_DICT(mp_module_uerrno_globals, mp_module_uerrno_globals_t
|
||||
|
||||
const mp_obj_module_t mp_module_uerrno = {
|
||||
.base = { &mp_type_module },
|
||||
.name = MP_QSTR_uerrno,
|
||||
.globals = (mp_obj_dict_t*)&mp_module_uerrno_globals,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user