mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-11 09:08:27 +08:00
Import generics from standard modules in all third-party stubs (#7791)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Callable, TypeVar, overload
|
||||
from collections.abc import Callable
|
||||
from typing import Any, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
_F = TypeVar("_F", bound=Callable[..., Any])
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Callable, TypeVar
|
||||
from collections.abc import Callable
|
||||
from typing import Any, TypeVar
|
||||
from typing_extensions import Literal
|
||||
|
||||
from .classic import ClassicAdapter, _Actions
|
||||
|
||||
Reference in New Issue
Block a user