diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-17 22:21:25 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-17 22:21:25 +0000 |
commit | 517e1706bd8fcf710e15e09de5fcf00f5039643a (patch) | |
tree | 5c5db59e3b634b3db1f10b67ada9c4e86e6cd5b5 /py | |
parent | ff77dc567cb11d68f531a06f79e795f7e93a9669 (diff) | |
parent | 4aee119f940b15da16c5e3609bb904f5e881a3df (diff) | |
download | micropython-517e1706bd8fcf710e15e09de5fcf00f5039643a.tar.gz micropython-517e1706bd8fcf710e15e09de5fcf00f5039643a.zip |
Merge pull request #309 from pfalcon/stm-sys-path
stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"].
Diffstat (limited to 'py')
-rw-r--r-- | py/makeqstrdata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index f231a5d861..6ae229c734 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py @@ -10,6 +10,8 @@ elif platform.python_version_tuple()[0] == '3': # add some custom names to map characters that aren't in HTML codepoint2name[ord('.')] = 'dot' +codepoint2name[ord(':')] = 'colon' +codepoint2name[ord('/')] = 'slash' # this must match the equivalent function in qstr.c def compute_hash(qstr): |