summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 0f27273273..c84a28e4cb 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -168,7 +168,7 @@ void rt_init(void) {
#if MICROPY_CPYTHON_COMPAT
// Precreate sys module, so "import sys" didn't throw exceptions.
- mp_obj_new_module(QSTR_FROM_STR_STATIC("sys"));
+ mp_obj_new_module(MP_QSTR_sys);
#endif
mp_module_micropython_init();