mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
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:
committed by
Łukasz Langa
parent
3d79158db5
commit
93ec300dd4
2
third_party/2/simplejson/__init__.pyi
vendored
2
third_party/2/simplejson/__init__.pyi
vendored
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user