diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-04 07:55:10 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-04 19:36:00 +0200 |
commit | 0c59db1973cf4acf9d2582c889a5c58784ec1d31 (patch) | |
tree | 2cfb6cccd39e85957aebf1eae0074ebc060e9940 /py/runtime.c | |
parent | 7cd54d79db8abd4bd5c3a964f8096de4f7734b23 (diff) | |
download | micropython-0c59db1973cf4acf9d2582c889a5c58784ec1d31.tar.gz micropython-0c59db1973cf4acf9d2582c889a5c58784ec1d31.zip |
Use qstr id to create sys module.
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 2 |
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(); |