mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 01:28:29 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from collections.abc import Callable
|
||||
from contextvars import Context
|
||||
from types import FrameType, TracebackType
|
||||
from typing import Any, Protocol, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Any, Literal, Protocol, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_TraceEvent: TypeAlias = Literal["switch", "throw"]
|
||||
_TraceCallback: TypeAlias = Callable[[_TraceEvent, tuple[greenlet, greenlet]], object]
|
||||
|
||||
Reference in New Issue
Block a user