diff --git a/stdlib/3/_json.pyi b/stdlib/3/_json.pyi index 217fadd13..9f7c80176 100644 --- a/stdlib/3/_json.pyi +++ b/stdlib/3/_json.pyi @@ -1,6 +1,6 @@ """Stub file for the '_json' module.""" -from typing import Any, Tuple +from typing import Any, Tuple, Optional, Dict, Callable class make_encoder: sort_keys: Any @@ -11,9 +11,10 @@ class make_encoder: default: Any encoder: Any item_separator: Any - def __init__(self, markers, default, encoder, indent, key_separator, - item_separator, sort_keys, skipkeys, allow_nan) -> None: ... - def __call__(self, *args, **kwargs) -> Any: ... + def __init__(self, markers: Optional[Dict[int, Any]], default: Callable[[Any], Any], encoder: Callable[[str], str], + indent: Optional[int], key_separator: str, item_separator: str, sort_keys: bool, skipkeys: bool, + allow_nan: bool) -> None: ... + def __call__(self, obj: object, _current_indent_level: int) -> Any: ... class make_scanner: object_hook: Any