bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447) · pythoncapi/cpython@d08972f · GitHub
Skip to content

Commit d08972f

Browse files
bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (pythonGH-6447)
1 parent c4b695f commit d08972f

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

Doc/reference/expressions.rst

Lines changed: 1 addition & 1 deletion

Lib/token.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,12 @@
6565
ELLIPSIS = 52
6666
# Don't forget to update the table _PyParser_TokenNames in tokenizer.c!
6767
OP = 53
68-
AWAIT = 54
69-
ASYNC = 55
70-
ERRORTOKEN = 56
68+
ERRORTOKEN = 54
7169
# These aren't used by the C tokenizer but are needed for tokenize.py
72-
COMMENT = 57
73-
NL = 58
74-
ENCODING = 59
75-
N_TOKENS = 60
70+
COMMENT = 55
71+
NL = 56
72+
ENCODING = 57
73+
N_TOKENS = 58
7674
# Special definitions for cooperation with parser
7775
NT_OFFSET = 256
7876
#--end constants--

Lib/tokenize.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)