Widen the type of the file argument to Python 2's json.dump. (#2516)

This commit is contained in:
Siva Chandra
2018-10-12 15:58:46 -07:00
committed by Rebecca Chen
parent ea0a0fd17e
commit cec2202550

View File

@@ -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 = ...,