Add token.EXACT_TOKEN_TYPES for 3.8+

This commit is contained in:
Guido van Rossum
2020-08-23 15:42:01 -07:00
parent 4bbe161479
commit 351a971b1d

View File

@@ -78,6 +78,7 @@ if sys.version_info >= (3, 8):
TYPE_COMMENT: int
TYPE_IGNORE: int
COLONEQUAL: int
EXACT_TOKEN_TYPES: Dict[str, int]
def ISTERMINAL(x: int) -> bool: ...
def ISNONTERMINAL(x: int) -> bool: ...