add (overwrite with) mypy stubs, if available

This commit is contained in:
Matthias Kramm
2015-09-30 09:59:44 -07:00
parent 69e10b3aed
commit 337abed05a
432 changed files with 22360 additions and 776 deletions
+8
View File
@@ -0,0 +1,8 @@
from typing import Any, IO
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: ...
version = ... # type: int