Skip to content

Commit a1dc346

Browse files
authored
[json] Add default value for strict param to scanstring (#14441)
1 parent ddd8434 commit a1dc346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/_json.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ class make_scanner:
4848

4949
def encode_basestring(s: str, /) -> str: ...
5050
def encode_basestring_ascii(s: str, /) -> str: ...
51-
def scanstring(string: str, end: int, strict: bool = ...) -> tuple[str, int]: ...
51+
def scanstring(string: str, end: int, strict: bool = True) -> tuple[str, int]: ...

0 commit comments

Comments
 (0)