commit | 58051117322bc7cd55c0d35168c0563a880c7689 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Tue Apr 15 12:42:52 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Tue Apr 15 12:42:52 2014 +0100 |
tree | b8d8bda254e1437b9652208b1f0e3c202b85be46 | |
parent | 256b319d566a434e5b553fdb9ea5bd8d0eb2af86 [diff] [blame] |
py: Add hex builtin function. A one-liner, added especially for @pfalcon :)
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index eaff11b..f8605ae 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py
@@ -16,6 +16,7 @@ codepoint2name[ord('.')] = 'dot' codepoint2name[ord(':')] = 'colon' codepoint2name[ord('/')] = 'slash' +codepoint2name[ord('%')] = 'percent' # this must match the equivalent function in qstr.c def compute_hash(qstr):