summaryrefslogtreecommitdiff
path: root/extmod/modurandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/modurandom.c')
-rw-r--r--extmod/modurandom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/modurandom.c b/extmod/modurandom.c
index 21fbac694..6e5f99de7 100644
--- a/extmod/modurandom.c
+++ b/extmod/modurandom.c
@@ -254,6 +254,8 @@ const mp_obj_module_t mp_module_urandom = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&mp_module_urandom_globals,
};
+
+MP_REGISTER_MODULE(MP_QSTR_urandom, mp_module_urandom, MICROPY_PY_URANDOM);
#endif
#endif // MICROPY_PY_URANDOM