mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 09:38:50 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
8
stdlib/2and3/marshal.pyi
Normal file
8
stdlib/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: ...
|
||||
def load(file: IO[Any]) -> Any: ...
|
||||
def dumps(value: Any, version: int = ...) -> str: ...
|
||||
def loads(string: str) -> Any: ...
|
||||
Reference in New Issue
Block a user