mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
bpo-35766: Merge typed_ast back into CPython (GH-11645)
This commit is contained in:
parent
d97daebfa6
commit
dcfcd146f8
30 changed files with 2043 additions and 655 deletions
12
Lib/token.py
generated
12
Lib/token.py
generated
|
@ -58,12 +58,14 @@ RARROW = 51
|
|||
ELLIPSIS = 52
|
||||
COLONEQUAL = 53
|
||||
OP = 54
|
||||
TYPE_IGNORE = 55
|
||||
TYPE_COMMENT = 56
|
||||
# These aren't used by the C tokenizer but are needed for tokenize.py
|
||||
ERRORTOKEN = 55
|
||||
COMMENT = 56
|
||||
NL = 57
|
||||
ENCODING = 58
|
||||
N_TOKENS = 59
|
||||
ERRORTOKEN = 57
|
||||
COMMENT = 58
|
||||
NL = 59
|
||||
ENCODING = 60
|
||||
N_TOKENS = 61
|
||||
# Special definitions for cooperation with parser
|
||||
NT_OFFSET = 256
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue