mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 22:18:28 +08:00
add default for simplejson.JSONEncoder.iterencode (#9135)
https://github.com/simplejson/simplejson/blob/43645252224d4e529c22cb78ac42f241d6426073/simplejson/encoder.py#L304
This commit is contained in:
@@ -5,6 +5,6 @@ class JSONEncoder:
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
def encode(self, o: Any) -> str: ...
|
||||
def default(self, o: Any) -> NoReturn: ...
|
||||
def iterencode(self, o: Any, _one_shot: bool) -> Iterator[str]: ...
|
||||
def iterencode(self, o: Any, _one_shot: bool = ...) -> Iterator[str]: ...
|
||||
|
||||
class JSONEncoderForHTML(JSONEncoder): ...
|
||||
|
||||
Reference in New Issue
Block a user