Reparent simplejson from 2 to 2and3 (#2088)

This commit is contained in:
Andrew Gaul
2018-05-04 15:59:26 -07:00
committed by Jelle Zijlstra
parent 863b9b0886
commit 29bf24b8b9
4 changed files with 0 additions and 0 deletions

View File

@@ -1,10 +0,0 @@
from typing import Any, IO, Text
from simplejson.scanner import JSONDecodeError as JSONDecodeError
from simplejson.decoder import JSONDecoder as JSONDecoder
from simplejson.encoder import JSONEncoder as JSONEncoder, JSONEncoderForHTML as JSONEncoderForHTML
def dumps(obj: Any, *args: Any, **kwds: Any) -> str: ...
def dump(obj: Any, fp: IO[str], *args: Any, **kwds: Any) -> None: ...
def loads(s: Text, **kwds: Any) -> Any: ...
def load(fp: IO[str], **kwds: Any) -> Any: ...

View File

@@ -1,6 +0,0 @@
from typing import Any, Match
class JSONDecoder(object):
def __init__(self, **kwargs): ...
def decode(self, s: str, _w: Match[str], _PY3: bool): ...
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool): ...

View File

@@ -1,9 +0,0 @@
from typing import Any, IO
class JSONEncoder(object):
def __init__(self, *args, **kwargs): ...
def encode(self, o: Any): ...
def default(self, o: Any): ...
def iterencode(self, o: Any, _one_shot: bool): ...
class JSONEncoderForHTML(JSONEncoder): ...

View File

@@ -1,11 +0,0 @@
from typing import Optional
class JSONDecodeError(ValueError):
msg: str = ...
doc: str = ...
pos: int = ...
end: Optional[int] = ...
lineno: int = ...
colno: int = ...
endlineno: Optional[int] = ...
endcolno: Optional[int] = ...