mirror of
https://github.com/micropython/micropython.git
synced 2025-09-03 00:10:29 +02:00
py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg.
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user