summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-04-11 19:15:51 +0300
committerGitHub <noreply@github.com>2018-04-11 19:15:51 +0300
commitd08972fdb92cad6b813d22205752c97ea18df060 (patch)
treee5c7f912380d8896a70f1c2d6d0f8f9994bdc4f8 /Lib/tokenize.py
parentc4b695f85e141f57d22d8edf7bc2c756da136918 (diff)
downloadcpython-git-d08972fdb92cad6b813d22205752c97ea18df060.tar.gz
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)
Diffstat (limited to 'Lib/tokenize.py')
-rw-r--r--Lib/tokenize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tokenize.py b/Lib/tokenize.py
index f5c6ac7f5e..6528b90061 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -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