mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
move marshal.pyi into 2and3/
This commit is contained in:
8
builtins/2and3/marshal.pyi
Normal file
8
builtins/2and3/marshal.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user