mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 02:10:59 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Any, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Any, Literal, TypeVar, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_F = TypeVar("_F", bound=Callable[..., Any])
|
||||
_Actions: TypeAlias = Literal["default", "error", "ignore", "always", "module", "once"]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Any, TypeVar
|
||||
from typing_extensions import Literal
|
||||
from typing import Any, Literal, TypeVar
|
||||
|
||||
from .classic import ClassicAdapter, _Actions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user