mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 04:08:49 +08:00
Add __all__ to copyreg stubs (#7137)
This commit is contained in:
1 parent
004f12a1eb
commit
287c8c3d79
3 files changed
+3
-3
No files matched your search
@@ -3,7 +3,7 @@ from typing import Any, Callable, Hashable, Optional, SupportsInt, TypeVar, Unio
|
||||
_TypeT = TypeVar("_TypeT", bound=type)
|
||||
_Reduce = Union[tuple[Callable[..., _TypeT], tuple[Any, ...]], tuple[Callable[..., _TypeT], tuple[Any, ...], Optional[Any]]]
|
||||
|
||||
__all__: list[str]
|
||||
__all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"]
|
||||
|
||||
def pickle(
|
||||
ob_type: _TypeT,
|
||||
|
||||
@@ -3,7 +3,7 @@ from typing import Any, Callable, Hashable, Optional, SupportsInt, TypeVar, Unio
|
||||
_TypeT = TypeVar("_TypeT", bound=type)
|
||||
_Reduce = Union[tuple[Callable[..., _TypeT], tuple[Any, ...]], tuple[Callable[..., _TypeT], tuple[Any, ...], Optional[Any]]]
|
||||
|
||||
__all__: list[str]
|
||||
__all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"]
|
||||
|
||||
def pickle(
|
||||
ob_type: _TypeT,
|
||||
|
||||
Reference in new issue
Block a user