Files
typeshed/stdlib/2.7/pickle.pyi
2015-11-09 13:55:02 -08:00

9 lines
248 B
Python

# Stubs for pickle (Python 2)
from typing import Any, IO
def dump(obj: Any, file: IO[str], protocol: int = ...) -> None: ...
def dumps(obj: Any, protocol: int = ...) -> str: ...
def load(file: IO[str]) -> Any: ...
def loads(str: str) -> Any: ...