mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from types import CodeType, FrameType, TracebackType
|
||||
from typing import IO, Any, Callable, Iterable, Mapping, SupportsInt, Tuple, Type, TypeVar
|
||||
from typing import IO, Any, Callable, Iterable, Mapping, SupportsInt, Type, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
_TraceDispatch = Callable[[FrameType, str, Any], Any] # TODO: Recursive type
|
||||
_ExcInfo = Tuple[Type[BaseException], BaseException, FrameType]
|
||||
_ExcInfo = tuple[Type[BaseException], BaseException, FrameType]
|
||||
|
||||
GENERATOR_AND_COROUTINE_FLAGS: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user