From b013aea80927ae85461f382c601f8ac40c06497a Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 15 Apr 2014 12:50:21 +0100 Subject: py: Fix builtin hex to print prefix. I was too hasty. Still a one-liner though. --- py/makeqstrdata.py | 1 + 1 file changed, 1 insertion(+) (limited to 'py/makeqstrdata.py') diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index f8605ae09..8620af567 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py @@ -17,6 +17,7 @@ codepoint2name[ord('.')] = 'dot' codepoint2name[ord(':')] = 'colon' codepoint2name[ord('/')] = 'slash' codepoint2name[ord('%')] = 'percent' +codepoint2name[ord('#')] = 'hash' # this must match the equivalent function in qstr.c def compute_hash(qstr): -- cgit v1.2.3