Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions stubs/simplejson/simplejson/encoder.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import re
from _typeshed import SupportsRichComparison
from collections.abc import Callable, Iterator
from typing import Any
from typing_extensions import Never

ESCAPE: re.Pattern[str]
ESCAPE_ASCII: re.Pattern[str]
Expand Down Expand Up @@ -52,7 +51,7 @@ class JSONEncoder:
iterable_as_array: bool = False,
) -> None: ...
def encode(self, o: Any) -> str: ...
def default(self, o: Any) -> Never: ...
def default(self, o: Any) -> Any: ...
def iterencode(self, o: Any) -> Iterator[str]: ...

class JSONEncoderForHTML(JSONEncoder): ...
Expand Down
Loading