py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg.

This commit is contained in:
Damien George
2014-04-27 19:23:46 +01:00
parent 968bf34c4c
commit 708c073250
3 changed files with 13 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ codepoint2name[ord('%')] = 'percent'
codepoint2name[ord('#')] = 'hash'
codepoint2name[ord('{')] = 'brace_open'
codepoint2name[ord('}')] = 'brace_close'
codepoint2name[ord('*')] = 'star'
# this must match the equivalent function in qstr.c
def compute_hash(qstr):