1 from typing import Any, IO, List
\r
3 HIGHEST_PROTOCOL = ... # type: int
\r
4 compatible_formats = ... # type: List[str]
\r
5 format_version = ... # type: str
\r
8 def __init__(self, file: IO[str], protocol: int = ...) -> None: ...
\r
10 def dump(self, obj: Any) -> None: ...
\r
12 def clear_memo(self) -> None: ...
\r
16 def __init__(self, file: IO[str]) -> None: ...
\r
18 def load(self) -> Any: ...
\r
20 def noload(self) -> Any: ...
\r
23 def dump(obj: Any, file: IO[str], protocol: int = ...) -> None: ...
\r
24 def dumps(obj: Any, protocol: int = ...) -> str: ...
\r
25 def load(file: IO[str]) -> Any: ...
\r
26 def loads(str: str) -> Any: ...
\r
28 class PickleError(Exception): ...
\r
29 class UnpicklingError(PickleError): ...
\r
30 class BadPickleGet(UnpicklingError): ...
\r
31 class PicklingError(PickleError): ...
\r
32 class UnpickleableError(PicklingError): ...
\r