1 parent 7cd54d7 commit 0c59db1Copy full SHA for 0c59db1
4 files changed
py/qstrdefs.h
@@ -81,6 +81,7 @@ Q(set)
81
Q(sorted)
82
Q(sum)
83
Q(str)
84
+Q(sys)
85
Q(tuple)
86
Q(type)
87
Q(zip)
py/runtime.c
@@ -168,7 +168,7 @@ void rt_init(void) {
168
169
#if MICROPY_CPYTHON_COMPAT
170
// Precreate sys module, so "import sys" didn't throw exceptions.
171
- mp_obj_new_module(QSTR_FROM_STR_STATIC("sys"));
+ mp_obj_new_module(MP_QSTR_sys);
172
#endif
173
174
mp_module_micropython_init();
unix/qstrdefsport.h
@@ -1,6 +1,5 @@
1
// qstrs specific to this port
2
3
-Q(sys)
4
Q(argv)
5
Q(open)
6
Q(stdin)
windows/qstrdefsport.h
0 commit comments