diff options
Diffstat (limited to 'py/objmodule.c')
-rw-r--r-- | py/objmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objmodule.c b/py/objmodule.c index f8a8d2620d..2319999c0f 100644 --- a/py/objmodule.c +++ b/py/objmodule.c @@ -65,7 +65,7 @@ mp_obj_t mp_obj_new_module(qstr module_name) { mp_obj_t mp_obj_module_get(qstr module_name) { mp_map_elem_t *el = mp_map_lookup(rt_loaded_modules_get(), MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOKUP); if (el == NULL) { - return NULL; + return MP_OBJ_NULL; } return el->value; } |