1 from typing import Any, Callable, Iterator
3 def py_encode_basestring(s: str) -> str: ... # undocumented
4 def py_encode_basestring_ascii(s: str) -> str: ... # undocumented
20 ensure_ascii: bool = ...,
21 check_circular: bool = ...,
22 allow_nan: bool = ...,
23 sort_keys: bool = ...,
24 indent: int | None = ...,
25 separators: tuple[str, str] | None = ...,
26 default: Callable[..., Any] | None = ...,
28 def default(self, o: Any) -> Any: ...
29 def encode(self, o: Any) -> str: ...
30 def iterencode(self, o: Any, _one_shot: bool = ...) -> Iterator[str]: ...