diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-21 10:52:53 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-22 00:23:16 +1000 |
commit | 93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f (patch) | |
tree | 65e8bd025dab1eb7e09988b761b7c3639526f474 /stmhal/modstm.c | |
parent | b0a46900de885644c30414caeb4d39fae493e931 (diff) | |
download | micropython-93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f.tar.gz micropython-93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f.zip |
all: Remove 'name' member from mp_obj_module_t struct.
One can instead lookup __name__ in the modules dict to get the value.
Diffstat (limited to 'stmhal/modstm.c')
-rw-r--r-- | stmhal/modstm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/modstm.c b/stmhal/modstm.c index 005cd824ae..76c8eb155a 100644 --- a/stmhal/modstm.c +++ b/stmhal/modstm.c @@ -51,6 +51,5 @@ STATIC MP_DEFINE_CONST_DICT(stm_module_globals, stm_module_globals_table); const mp_obj_module_t stm_module = { .base = { &mp_type_module }, - .name = MP_QSTR_stm, .globals = (mp_obj_dict_t*)&stm_module_globals, }; |