summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-05 00:47:06 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-05 01:40:41 +0200
commite11b17c25ff23b5d6c5e74bc2a9bbd28bc8d2fde (patch)
tree81612a4d8e851f571f41ff560ecd2109e0525da7 /py/qstrdefs.h
parent6e6b888e31f9a4c245f621ccd91d3fce5ac88463 (diff)
Implement support for sys.path when loading modules.
sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index bf575e25d..3eb306723 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -73,6 +73,7 @@ Q(max)
Q(min)
Q(next)
Q(ord)
+Q(path)
Q(pow)
Q(print)
Q(range)