DeleteJSONDecodeError from Python2's json module (#4799)

Co-authored-by: Phillip Huang <phillip@dropbox.com>
This commit is contained in:
Phillip Huang
2020-12-02 13:24:22 -08:00
committed by GitHub
parent 1958f3ec67
commit 3d8a29705e

View File

@@ -1,12 +1,6 @@
from _typeshed import SupportsRead
from typing import IO, Any, Callable, Dict, List, Optional, Text, Tuple, Type, Union
class JSONDecodeError(ValueError):
def dumps(self, obj: Any) -> str: ...
def dump(self, obj: Any, fp: IO[str], *args: Any, **kwds: Any) -> None: ...
def loads(self, s: str) -> Any: ...
def load(self, fp: IO[str]) -> Any: ...
def dumps(
obj: Any,
skipkeys: bool = ...,