mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add __all__ to copyreg stubs (#7137)
This commit is contained in:
@@ -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