Update typing_extensions imports in third-party stubs (#11245)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2024-01-05 15:40:13 +01:00
1 parent 1b471a9a0a
commit b6eaadcfe5
488 files changed
+715 -845

No files matched your search

+2 -2
View File
@@ -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]