Add support for (PY3 only) json.detect_encoding (#5003)

This commit is contained in:
Ken Odegard
2021-02-03 03:23:33 -06:00
committed by GitHub
parent 1959669aa4
commit a00a8de1f1

View File

@@ -55,3 +55,4 @@ def load(
object_pairs_hook: Optional[Callable[[List[Tuple[Any, Any]]], Any]] = ...,
**kwds: Any,
) -> Any: ...
def detect_encoding(b: bytes) -> str: ... # undocumented