Import generics from standard modules in all third-party stubs (#7791)

This commit is contained in:
Alex Waygood
2022-05-07 09:35:50 +01:00
committed by GitHub
parent 6c6c669ada
commit 5c6178a821
26 changed files with 76 additions and 59 deletions
+2 -1
View File
@@ -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])
+2 -1
View File
@@ -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