mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Update token.pyi and tokenize.pyi for Python3.12 (#10283)
This commit is contained in:
@@ -83,6 +83,9 @@ if sys.version_info >= (3, 8):
|
||||
if sys.version_info >= (3, 10):
|
||||
__all__ += ["SOFT_KEYWORD"]
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
__all__ += ["EXCLAMATION", "FSTRING_END", "FSTRING_MIDDLE", "FSTRING_START"]
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from token import EXACT_TOKEN_TYPES as EXACT_TOKEN_TYPES
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user