Kaydet (Commit) c259cc9c authored tarafından Guido van Rossum's avatar Guido van Rossum

Insert a safety space after numbers as well as names in untokenize().

üst 090f8158
......@@ -182,7 +182,7 @@ def untokenize(iterable):
for tok in iterable:
toknum, tokval = tok[:2]
if toknum == NAME:
if toknum in (NAME, NUMBER):
tokval += ' '
if toknum == INDENT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment