summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-04-11 10:07:23 -0700
committerGitHub <noreply@github.com>2018-04-11 10:07:23 -0700
commit4dc3c8ff14572032e63d9938a12813392bcbe982 (patch)
treef216d39eb668df877aa64639289ff93e398d704a /Lib/tokenize.py
parentb26265900a18a184997c3c3a1fa6a5bf29703ec9 (diff)
downloadcpython-git-4dc3c8ff14572032e63d9938a12813392bcbe982.tar.gz
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)
(cherry picked from commit d08972fdb92cad6b813d22205752c97ea18df060) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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