mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove simplejson from pyright's exclude (#8945)
This commit is contained in:
@@ -80,7 +80,6 @@
|
||||
"stubs/requests",
|
||||
"stubs/Send2Trash",
|
||||
"stubs/setuptools",
|
||||
"stubs/simplejson",
|
||||
"stubs/slumber",
|
||||
"stubs/SQLAlchemy",
|
||||
"stubs/stripe",
|
||||
|
||||
@@ -3,5 +3,5 @@ from typing import Any
|
||||
|
||||
class JSONDecoder:
|
||||
def __init__(self, **kwargs: Any) -> None: ...
|
||||
def decode(self, s: str, _w: Match[str], _PY3: bool): ...
|
||||
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool): ...
|
||||
def decode(self, s: str, _w: Match[str], _PY3: bool) -> Any: ...
|
||||
def raw_decode(self, s: str, idx: int, _w: Match[str], _PY3: bool) -> tuple[Any, int]: ...
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
from typing import Any
|
||||
from collections.abc import Iterator
|
||||
from typing import Any, NoReturn
|
||||
|
||||
class JSONEncoder:
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
def encode(self, o: Any): ...
|
||||
def default(self, o: Any): ...
|
||||
def iterencode(self, o: Any, _one_shot: bool): ...
|
||||
def encode(self, o: Any) -> str: ...
|
||||
def default(self, o: Any) -> NoReturn: ...
|
||||
def iterencode(self, o: Any, _one_shot: bool) -> Iterator[str]: ...
|
||||
|
||||
class JSONEncoderForHTML(JSONEncoder): ...
|
||||
|
||||
Reference in New Issue
Block a user