Files
typeshed/2.7/marshal.pyi
Matthias Kramm 9cbe15e57f Add binascii, errno, fcntl, imp, marshal, select, sys, unicodedata.
Some stubs inspired or adapted from mypy stubs.
2015-09-16 15:30:12 -07:00

9 lines
252 B
Python

from typing import Any, IO
version = ... # type: int
def dump(value: Any, file: IO[Any], version: int = None) -> None: ...
def load(file: IO[Any]) -> Any: ...
def dumps(value: Any, version: int = None) -> str: ...
def loads(string: str) -> Any: ...