mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
10 lines
349 B
Python
10 lines
349 B
Python
from _typeshed import ReadableBuffer, SupportsRead, SupportsWrite
|
|
from typing import Any
|
|
|
|
version: int
|
|
|
|
def dump(__value: Any, __file: SupportsWrite[bytes], __version: int = ...) -> None: ...
|
|
def load(__file: SupportsRead[bytes]) -> Any: ...
|
|
def dumps(__value: Any, __version: int = ...) -> bytes: ...
|
|
def loads(__bytes: ReadableBuffer) -> Any: ...
|