From d08972fdb92cad6b813d22205752c97ea18df060 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 11 Apr 2018 19:15:51 +0300 Subject: bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447) --- Lib/token.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Lib/token.py') diff --git a/Lib/token.py b/Lib/token.py index 091f80bf19..ba132059ab 100644 --- a/Lib/token.py +++ b/Lib/token.py @@ -65,14 +65,12 @@ RARROW = 51 ELLIPSIS = 52 # Don't forget to update the table _PyParser_TokenNames in tokenizer.c! OP = 53 -AWAIT = 54 -ASYNC = 55 -ERRORTOKEN = 56 +ERRORTOKEN = 54 # These aren't used by the C tokenizer but are needed for tokenize.py -COMMENT = 57 -NL = 58 -ENCODING = 59 -N_TOKENS = 60 +COMMENT = 55 +NL = 56 +ENCODING = 57 +N_TOKENS = 58 # Special definitions for cooperation with parser NT_OFFSET = 256 #--end constants-- -- cgit v1.2.1