massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / _json.pyi
1 """Stub file for the '_json' module."""\r
2 \r
3 from typing import Any, Tuple\r
4 \r
5 class make_encoder:\r
6     sort_keys = ...  # type: Any\r
7     skipkeys = ...  # type: Any\r
8     key_separator = ...  # type: Any\r
9     indent = ...  # type: Any\r
10     markers = ...  # type: Any\r
11     default = ...  # type: Any\r
12     encoder = ...  # type: Any\r
13     item_separator = ...  # type: Any\r
14     def __init__(self, markers, default, encoder, indent, key_separator,\r
15                  item_separator, sort_keys, skipkeys, allow_nan) -> None: ...\r
16     def __call__(self, *args, **kwargs) -> Any: ...\r
17 \r
18 class make_scanner:\r
19     object_hook = ...  # type: Any\r
20     object_pairs_hook = ...  # type: Any\r
21     parse_int = ...  # type: Any\r
22     parse_constant = ...  # type: Any\r
23     parse_float = ...  # type: Any\r
24     strict = ...  # type: bool\r
25     # TODO: 'context' needs the attrs above (ducktype), but not __call__.\r
26     def __init__(self, context: "make_scanner") -> None: ...\r
27     def __call__(self, string: str, index: int) -> Tuple[Any, int]: ...\r
28 \r
29 def encode_basestring_ascii(s: str) -> str: ...\r
30 def scanstring(string: str, end: int, strict: bool = ...) -> Tuple[str, int]: ...\r