mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
1 parent
6cb934291f
commit
ddfaca3200
272 files changed
+2529
-2467
No files matched your search
@@ -21,12 +21,12 @@ class JSONDecoder:
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
object_hook: Callable[[dict[str, Any]], Any] | None = ...,
|
||||
parse_float: Callable[[str], Any] | None = ...,
|
||||
parse_int: Callable[[str], Any] | None = ...,
|
||||
parse_constant: Callable[[str], Any] | None = ...,
|
||||
strict: bool = ...,
|
||||
object_pairs_hook: Callable[[list[tuple[str, Any]]], Any] | None = ...,
|
||||
object_hook: Callable[[dict[str, Any]], Any] | None = None,
|
||||
parse_float: Callable[[str], Any] | None = None,
|
||||
parse_int: Callable[[str], Any] | None = None,
|
||||
parse_constant: Callable[[str], Any] | None = None,
|
||||
strict: bool = True,
|
||||
object_pairs_hook: Callable[[list[tuple[str, Any]]], Any] | None = None,
|
||||
) -> None: ...
|
||||
def decode(self, s: str, _w: Callable[..., Any] = ...) -> Any: ... # _w is undocumented
|
||||
def raw_decode(self, s: str, idx: int = ...) -> tuple[Any, int]: ...
|
||||
def raw_decode(self, s: str, idx: int = 0) -> tuple[Any, int]: ...
|
||||
Reference in new issue
Block a user