mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Add __all__ for most modules beginning with 't' (#7373)
This commit is contained in:
@@ -4,6 +4,11 @@ from builtins import open as _builtin_open
|
||||
from token import *
|
||||
from typing import Any, Callable, Generator, Iterable, NamedTuple, Pattern, Sequence, TextIO, Union
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from token import EXACT_TOKEN_TYPES as EXACT_TOKEN_TYPES
|
||||
else:
|
||||
EXACT_TOKEN_TYPES: dict[str, int]
|
||||
|
||||
if sys.version_info < (3, 7):
|
||||
COMMENT: int
|
||||
NL: int
|
||||
|
||||
Reference in New Issue
Block a user