summaryrefslogtreecommitdiff
path: root/extmod/moduwebsocket.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 /extmod/moduwebsocket.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 'extmod/moduwebsocket.c')
-rw-r--r--extmod/moduwebsocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/moduwebsocket.c b/extmod/moduwebsocket.c
index 9b12fc863..ca7152bb1 100644
--- a/extmod/moduwebsocket.c
+++ b/extmod/moduwebsocket.c
@@ -300,7 +300,7 @@ STATIC MP_DEFINE_CONST_OBJ_TYPE(
);
STATIC const mp_rom_map_elem_t uwebsocket_module_globals_table[] = {
- { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_uwebsocket) },
+ { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_websocket) },
{ MP_ROM_QSTR(MP_QSTR_websocket), MP_ROM_PTR(&websocket_type) },
};
@@ -311,6 +311,6 @@ const mp_obj_module_t mp_module_uwebsocket = {
.globals = (mp_obj_dict_t *)&uwebsocket_module_globals,
};
-MP_REGISTER_MODULE(MP_QSTR_uwebsocket, mp_module_uwebsocket);
+MP_REGISTER_MODULE(MP_QSTR_websocket, mp_module_uwebsocket);
#endif // MICROPY_PY_UWEBSOCKET