added a few types to simplejson's dumps to match dump (#781)

* added a few types to simplejson's dumps to match dump
* fixed the fp option on dumps
This commit is contained in:
Wesley Bowman
2016-12-20 08:52:22 +01:00
committed by Łukasz Langa
parent 3d79158db5
commit 93ec300dd4

View File

@@ -1,6 +1,6 @@
from typing import Any, IO
def dumps(obj: Any) -> str: ...
def dumps(obj: Any, *args: Any, **kwds: Any) -> str: ...
def dump(obj: Any, fp: IO[str], *args: Any, **kwds: Any) -> None: ...
def loads(s: str, **kwds: Any) -> Any: ...
def load(fp: IO[str]) -> Any: ...