Add token(ize).SOFT_KEYWORD (#6416)

Added as part of the changes made in https://bugs.python.org/issue43822
This commit is contained in:
Alex Waygood
2021-11-28 07:11:53 +00:00
committed by GitHub
parent 593ec01537
commit 9e2cec904d

View File

@@ -71,6 +71,8 @@ if sys.version_info >= (3, 8):
TYPE_IGNORE: int
COLONEQUAL: int
EXACT_TOKEN_TYPES: dict[str, int]
if sys.version_info >= (3, 10):
SOFT_KEYWORD: int
def ISTERMINAL(x: int) -> bool: ...
def ISNONTERMINAL(x: int) -> bool: ...