summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/pgen2/token.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-03-18 19:15:52 (GMT)
committerGitHub <noreply@github.com>2018-03-18 19:15:52 (GMT)
commita90df5085b51e8bb9de1c04c408bbef42ce6cbc3 (patch)
tree2ec1005a09eef10be7d52d0659cc6ac1f0c4d84a /Lib/lib2to3/pgen2/token.py
parent773573e9ac654d4b5c6682e70360f75864acd80e (diff)
downloadcpython-a90df5085b51e8bb9de1c04c408bbef42ce6cbc3.zip
cpython-a90df5085b51e8bb9de1c04c408bbef42ce6cbc3.tar.gz
cpython-a90df5085b51e8bb9de1c04c408bbef42ce6cbc3.tar.bz2
Revert "bpo-30406: Make async and await proper keywords (GH-1669)" (GH-6143)
This reverts commit ac317700ce7439e38a8b420218d9a5035bba92ed. (Reverts only the lib2to3 part.) (cherry picked from commit f64aae46da292f71f6be750026cd052362e066bc) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Lib/lib2to3/pgen2/token.py')
-rwxr-xr-xLib/lib2to3/pgen2/token.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/lib2to3/pgen2/token.py b/Lib/lib2to3/pgen2/token.py
index 7599396..1a67955 100755
--- a/Lib/lib2to3/pgen2/token.py
+++ b/Lib/lib2to3/pgen2/token.py
@@ -62,8 +62,10 @@ OP = 52
COMMENT = 53
NL = 54
RARROW = 55
-ERRORTOKEN = 56
-N_TOKENS = 57
+AWAIT = 56
+ASYNC = 57
+ERRORTOKEN = 58
+N_TOKENS = 59
NT_OFFSET = 256
#--end constants--