mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
9 lines
250 B
Python
9 lines
250 B
Python
# Stubs for pickle (Python 2)
|
|
|
|
from typing import Any, IO
|
|
|
|
def dump(obj: Any, file: IO[str], protocol: int = None) -> None: ...
|
|
def dumps(obj: Any, protocol: int = None) -> str: ...
|
|
def load(file: IO[str]) -> Any: ...
|
|
def loads(str: str) -> Any: ...
|