Skip to content

Commit b13f8e3

Browse files
1 parent 7394602 commit b13f8e3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

stubs/simplejson/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@ simplejson.JSONDecoder.__init__
33
simplejson.JSONDecoder.decode
44
simplejson.JSONDecoder.raw_decode
55
simplejson.JSONEncoder.__init__
6-
simplejson.JSONEncoder.iterencode
7-
simplejson.JSONEncoderForHTML.iterencode
86
simplejson.decoder.JSONDecoder.__init__
97
simplejson.decoder.JSONDecoder.decode
108
simplejson.decoder.JSONDecoder.raw_decode
119
simplejson.dump
1210
simplejson.dumps
1311
simplejson.encoder.JSONEncoder.__init__
14-
simplejson.encoder.JSONEncoder.iterencode
15-
simplejson.encoder.JSONEncoderForHTML.iterencode
1612
simplejson.load
1713
simplejson.loads
1814
simplejson.scanner.JSONDecodeError.__init__

stubs/simplejson/simplejson/encoder.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ class JSONEncoder:
55
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
66
def encode(self, o: Any) -> str: ...
77
def default(self, o: Any) -> NoReturn: ...
8-
def iterencode(self, o: Any, _one_shot: bool) -> Iterator[str]: ...
8+
def iterencode(self, o: Any, _one_shot: bool = ...) -> Iterator[str]: ...
99

1010
class JSONEncoderForHTML(JSONEncoder): ...

0 commit comments

Comments
 (0)