aboutsummaryrefslogtreecommitdiff
path: root/py/modarray.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-09-21 10:52:53 +1000
committerDamien George <damien.p.george@gmail.com>2016-09-22 00:23:16 +1000
commit93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f (patch)
tree65e8bd025dab1eb7e09988b761b7c3639526f474 /py/modarray.c
parentb0a46900de885644c30414caeb4d39fae493e931 (diff)
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 'py/modarray.c')
-rw-r--r--py/modarray.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/modarray.c b/py/modarray.c
index cfee011e1..356e48bee 100644
--- a/py/modarray.c
+++ b/py/modarray.c
@@ -37,7 +37,6 @@ STATIC MP_DEFINE_CONST_DICT(mp_module_array_globals, mp_module_array_globals_tab
const mp_obj_module_t mp_module_array = {
.base = { &mp_type_module },
- .name = MP_QSTR_array,
.globals = (mp_obj_dict_t*)&mp_module_array_globals,
};