summaryrefslogtreecommitdiff
path: root/py/modsys.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-17 16:18:31 +1000
committerJim Mussared <jim.mussared@gmail.com>2023-06-08 17:53:57 +1000
commit30628d1bb782006c88325a086ddfcd5c2e5ddbb4 (patch)
tree7935210e303630cd0594d40e565a29a114774e33 /py/modsys.c
parentd080d427ebcc263ac6ff792271cec1506e5c81fc (diff)
all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere.
This renames the builtin-modules, such that help('modules') and printing the module object will show "module" rather than "umodule". This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/modsys.c')
-rw-r--r--py/modsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modsys.c b/py/modsys.c
index 35af761a0..09bdfefc6 100644
--- a/py/modsys.c
+++ b/py/modsys.c
@@ -294,7 +294,7 @@ const mp_obj_module_t mp_module_sys = {
.globals = (mp_obj_dict_t *)&mp_module_sys_globals,
};
-MP_REGISTER_MODULE(MP_QSTR_usys, mp_module_sys);
+MP_REGISTER_MODULE(MP_QSTR_sys, mp_module_sys);
// If MICROPY_PY_SYS_PATH_ARGV_DEFAULTS is not enabled then these two lists
// must be initialised after the call to mp_init.