Skip to content

Commit d4e9573

Browse files
marouxsrittau
andauthored
Update stubs/simplejson/simplejson/encoder.pyi
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
1 parent 77703ae commit d4e9573

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubs/simplejson/simplejson/encoder.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class JSONEncoder:
5151
iterable_as_array: bool = False,
5252
) -> None: ...
5353
def encode(self, o: Any) -> str: ...
54-
def default(self, o: Any) -> Any: ...
54+
def default(self, o: object) -> Any: ... # returns a JSON-serializable object
5555
def iterencode(self, o: Any) -> Iterator[str]: ...
5656

5757
class JSONEncoderForHTML(JSONEncoder): ...

0 commit comments

Comments
 (0)