summaryrefslogtreecommitdiffstatshomepage
path: root/py/objmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objmodule.c')
-rw-r--r--py/objmodule.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/py/objmodule.c b/py/objmodule.c
index 7ec66adf3b..d2a67ffb83 100644
--- a/py/objmodule.c
+++ b/py/objmodule.c
@@ -122,12 +122,6 @@ mp_obj_t mp_obj_new_module(qstr module_name) {
return MP_OBJ_FROM_PTR(o);
}
-mp_obj_dict_t *mp_obj_module_get_globals(mp_obj_t self_in) {
- assert(MP_OBJ_IS_TYPE(self_in, &mp_type_module));
- mp_obj_module_t *self = MP_OBJ_TO_PTR(self_in);
- return self->globals;
-}
-
/******************************************************************************/
// Global module table and related functions