commit | d08972fdb92cad6b813d22205752c97ea18df060 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 11 19:15:51 2018 +0300 |
committer | GitHub <noreply@github.com> | Wed Apr 11 19:15:51 2018 +0300 |
tree | e5c7f912380d8896a70f1c2d6d0f8f9994bdc4f8 | |
parent | c4b695f85e141f57d22d8edf7bc2c756da136918 [diff] [blame] |
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)
diff --git a/Lib/tokenize.py b/Lib/tokenize.py index f5c6ac7..6528b90 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py
@@ -284,7 +284,7 @@ self.encoding = tokval continue - if toknum in (NAME, NUMBER, ASYNC, AWAIT): + if toknum in (NAME, NUMBER): tokval += ' ' # Insert a space between two consecutive strings