commit | ac317700ce7439e38a8b420218d9a5035bba92ed | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Thu Oct 05 20:24:46 2017 -0700 |
committer | Yury Selivanov <yury@magic.io> | Thu Oct 05 23:24:46 2017 -0400 |
tree | ddeb7d90f2e90b73a37783b88ef77376d9d996f5 | |
parent | 2084b30e540d88b9fc752c5bdcc2f24334af4f2b [diff] [blame] |
bpo-30406: Make async and await proper keywords (#1669) Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
diff --git a/Lib/lib2to3/pgen2/token.py b/Lib/lib2to3/pgen2/token.py index 1a67955..7599396 100755 --- a/Lib/lib2to3/pgen2/token.py +++ b/Lib/lib2to3/pgen2/token.py
@@ -62,10 +62,8 @@ COMMENT = 53 NL = 54 RARROW = 55 -AWAIT = 56 -ASYNC = 57 -ERRORTOKEN = 58 -N_TOKENS = 59 +ERRORTOKEN = 56 +N_TOKENS = 57 NT_OFFSET = 256 #--end constants--