mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use PEP 604 syntax wherever possible, part II (#7514)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import Any, Callable, Hashable, Optional, SupportsInt, TypeVar, Union
|
||||
from typing import Any, Callable, Hashable, SupportsInt, TypeVar, Union
|
||||
|
||||
_TypeT = TypeVar("_TypeT", bound=type)
|
||||
_Reduce = Union[tuple[Callable[..., _TypeT], tuple[Any, ...]], tuple[Callable[..., _TypeT], tuple[Any, ...], Optional[Any]]]
|
||||
_Reduce = Union[tuple[Callable[..., _TypeT], tuple[Any, ...]], tuple[Callable[..., _TypeT], tuple[Any, ...], Any | None]]
|
||||
|
||||
__all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user