summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/pgen2/token.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2018-03-18 16:54:33 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2018-03-18 16:54:33 (GMT)
commitf64aae46da292f71f6be750026cd052362e066bc (patch)
tree733a230dcbc05f014dc14a6551c5e43c92107b99 /Lib/lib2to3/pgen2/token.py
parentfe2bbb1869b42222a3f331a3dfb8b304a19a5819 (diff)
downloadcpython-f64aae46da292f71f6be750026cd052362e066bc.zip
cpython-f64aae46da292f71f6be750026cd052362e066bc.tar.gz
cpython-f64aae46da292f71f6be750026cd052362e066bc.tar.bz2
Revert "bpo-30406: Make async and await proper keywords (#1669)" (GH-6143)
This reverts commit ac317700ce7439e38a8b420218d9a5035bba92ed. (Reverts only the lib2to3 part.)
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--