mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 04:04:25 +08:00
DeleteJSONDecodeError from Python2's json module (#4799)
Co-authored-by: Phillip Huang <phillip@dropbox.com>
This commit is contained in:
@@ -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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user