mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Enable flake8-pyi's Y037 (#9686)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from collections.abc import Callable, Hashable
|
||||
from typing import Any, SupportsInt, TypeVar, Union
|
||||
from typing import Any, SupportsInt, TypeVar
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_T = TypeVar("_T")
|
||||
_Reduce: TypeAlias = Union[tuple[Callable[..., _T], tuple[Any, ...]], tuple[Callable[..., _T], tuple[Any, ...], Any | None]]
|
||||
_Reduce: TypeAlias = tuple[Callable[..., _T], tuple[Any, ...]] | tuple[Callable[..., _T], tuple[Any, ...], Any | None]
|
||||
|
||||
__all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user