py: Fix builtin hex to print prefix.

I was too hasty.  Still a one-liner though.
This commit is contained in:
Damien George
2014-04-15 12:50:21 +01:00
parent 5805111732
commit b013aea809
3 changed files with 3 additions and 2 deletions

View File

@@ -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):