mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)
This commit is contained in:
parent
c4b695f85e
commit
d08972fdb9
3 changed files with 7 additions and 9 deletions
|
@ -284,7 +284,7 @@ class Untokenizer:
|
|||
self.encoding = tokval
|
||||
continue
|
||||
|
||||
if toknum in (NAME, NUMBER, ASYNC, AWAIT):
|
||||
if toknum in (NAME, NUMBER):
|
||||
tokval += ' '
|
||||
|
||||
# Insert a space between two consecutive strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue