mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Widen the type of the file argument to Python 2's json.dump. (#2516)
This commit is contained in:
committed by
Rebecca Chen
parent
ea0a0fd17e
commit
cec2202550
@@ -20,7 +20,7 @@ def dumps(obj: Any,
|
||||
**kwds: Any) -> str: ...
|
||||
|
||||
def dump(obj: Any,
|
||||
fp: IO[str],
|
||||
fp: IO[Text],
|
||||
skipkeys: bool = ...,
|
||||
ensure_ascii: bool = ...,
|
||||
check_circular: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user