ami / .mypy_cache /3.7 /json /encoder.data.json
patrickvonplaten's picture
upload all
c7a0c46
raw
history blame
11.2 kB
{".class": "MypyFile", "_fullname": "json.encoder", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "ESCAPE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.ESCAPE", "name": "ESCAPE", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "ESCAPE_ASCII": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.ESCAPE_ASCII", "name": "ESCAPE_ASCII", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "ESCAPE_DCT": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.ESCAPE_DCT", "name": "ESCAPE_DCT", "type": {".class": "Instance", "args": ["builtins.str", "builtins.str"], "type_ref": "builtins.dict"}}}, "HAS_UTF8": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.HAS_UTF8", "name": "HAS_UTF8", "type": {".class": "Instance", "args": ["builtins.bytes"], "type_ref": "typing.Pattern"}}}, "INFINITY": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.INFINITY", "name": "INFINITY", "type": "builtins.float"}}, "Iterator": {".class": "SymbolTableNode", "cross_ref": "typing.Iterator", "kind": "Gdef", "module_hidden": true, "module_public": false}, "JSONEncoder": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "json.encoder.JSONEncoder", "name": "JSONEncoder", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "json.encoder.JSONEncoder", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "json.encoder", "mro": ["json.encoder.JSONEncoder", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["self", "skipkeys", "ensure_ascii", "check_circular", "allow_nan", "sort_keys", "indent", "separators", "default"], "flags": [], "fullname": "json.encoder.JSONEncoder.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5, 5, 5, 5, 5, 5, 5], "arg_names": ["self", "skipkeys", "ensure_ascii", "check_circular", "allow_nan", "sort_keys", "indent", "separators", "default"], "arg_types": ["json.encoder.JSONEncoder", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", "builtins.bool", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of JSONEncoder", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "allow_nan": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.allow_nan", "name": "allow_nan", "type": "builtins.bool"}}, "check_circular": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.check_circular", "name": "check_circular", "type": "builtins.bool"}}, "default": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "o"], "flags": [], "fullname": "json.encoder.JSONEncoder.default", "name": "default", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "o"], "arg_types": ["json.encoder.JSONEncoder", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "default of JSONEncoder", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}, "encode": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "o"], "flags": [], "fullname": "json.encoder.JSONEncoder.encode", "name": "encode", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "o"], "arg_types": ["json.encoder.JSONEncoder", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "encode of JSONEncoder", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "ensure_ascii": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.ensure_ascii", "name": "ensure_ascii", "type": "builtins.bool"}}, "indent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.indent", "name": "indent", "type": "builtins.int"}}, "item_separator": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.item_separator", "name": "item_separator", "type": "builtins.str"}}, "iterencode": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "o", "_one_shot"], "flags": [], "fullname": "json.encoder.JSONEncoder.iterencode", "name": "iterencode", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "o", "_one_shot"], "arg_types": ["json.encoder.JSONEncoder", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "iterencode of JSONEncoder", "ret_type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Iterator"}, "type_guard": null, "variables": []}}}, "key_separator": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.key_separator", "name": "key_separator", "type": "builtins.str"}}, "skipkeys": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.skipkeys", "name": "skipkeys", "type": "builtins.bool"}}, "sort_keys": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "json.encoder.JSONEncoder.sort_keys", "name": "sort_keys", "type": "builtins.bool"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Pattern": {".class": "SymbolTableNode", "cross_ref": "typing.Pattern", "kind": "Gdef", "module_hidden": true, "module_public": false}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "json.encoder.__package__", "name": "__package__", "type": "builtins.str"}}, "py_encode_basestring": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["s"], "flags": [], "fullname": "json.encoder.py_encode_basestring", "name": "py_encode_basestring", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["s"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "py_encode_basestring", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "py_encode_basestring_ascii": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["s"], "flags": [], "fullname": "json.encoder.py_encode_basestring_ascii", "name": "py_encode_basestring_ascii", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["s"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "py_encode_basestring_ascii", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/mypy/typeshed/stdlib/json/encoder.pyi"}