mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
9 lines
250 B
Python
9 lines
250 B
Python
from typing import Any, IO
|
|
|
|
version = ... # type: int
|
|
|
|
def dump(value: Any, file: IO[Any], version: int = ...) -> None: ...
|
|
def load(file: IO[Any]) -> Any: ...
|
|
def dumps(value: Any, version: int = ...) -> str: ...
|
|
def loads(string: str) -> Any: ...
|