ZFS Automatic Snapshot Daemon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
20 KiB

{".class": "MypyFile", "_fullname": "warnings", "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}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Literal": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.Literal", "kind": "Gdef", "module_hidden": true, "module_public": false}, "ModuleType": {".class": "SymbolTableNode", "cross_ref": "_importlib_modulespec.ModuleType", "kind": "Gdef", "module_hidden": true, "module_public": false}, "NamedTuple": {".class": "SymbolTableNode", "cross_ref": "typing.NamedTuple", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TextIO": {".class": "SymbolTableNode", "cross_ref": "typing.TextIO", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TracebackType": {".class": "SymbolTableNode", "cross_ref": "types.TracebackType", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Type": {".class": "SymbolTableNode", "cross_ref": "typing.Type", "kind": "Gdef", "module_hidden": true, "module_public": false}, "WarningMessage": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "warnings.WarningMessage", "name": "WarningMessage", "type_vars": []}, "flags": [], "fullname": "warnings.WarningMessage", "metaclass_type": null, "metadata": {}, "module_name": "warnings", "mro": ["warnings.WarningMessage", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 1, 1, 1], "arg_names": ["self", "message", "category", "filename", "lineno", "file", "line", "source"], "flags": [], "fullname": "warnings.WarningMessage.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 1, 1, 1], "arg_names": ["self", "message", "category", "filename", "lineno", "file", "line", "source"], "arg_types": ["warnings.WarningMessage", "builtins.Warning", {".class": "TypeType", "item": "builtins.Warning"}, {".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}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of WarningMessage", "ret_type": {".class": "NoneType"}, "variables": []}}}, "category": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.category", "name": "category", "type": {".class": "TypeType", "item": "builtins.Warning"}}}, "file": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.file", "name": "file", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}}}, "filename": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.filename", "name": "filename", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "line": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.line", "name": "line", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}}}, "lineno": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.lineno", "name": "lineno", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "message": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.message", "name": "message", "type": "builtins.Warning"}}, "source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "warnings.WarningMessage.source", "name": "source", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneType"}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_OptionError": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.Exception"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "warnings._OptionError", "name": "_OptionError", "type_vars": []}, "flags": [], "fullname": "warnings._OptionError", "metaclass_type": null, "metadata": {}, "module_name": "warnings", "mro": ["warnings._OptionError", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "warnings.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "warnings.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "warnings.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "warnings.__package__", "name": "__package__", "type": "builtins.str"}}, "_catch_warnings_with_records": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["warnings.catch_warnings"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "warnings._catch_warnings_with_records", "name": "_catch_warnings_with_records", "type_vars": []}, "flags": [], "fullname": "warnings._catch_warnings_with_records", "metaclass_type": null, "metadata": {}, "module_name": "warnings", "mro": ["warnings._catch_warnings_with_records", "warnings.catch_warnings", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "warnings._catch_warnings_with_records.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["warnings._catch_warnings_with_records"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of _catch_warnings_with_records", "ret_type": {".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "builtins.list"}, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_catch_warnings_without_records": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["warnings.catch_warnings"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "warnings._catch_warnings_without_records", "name": "_catch_warnings_without_records", "type_vars": []}, "flags": [], "fullname": "warnings._catch_warnings_without_records", "metaclass_type": null, "metadata": {}, "module_name": "warnings", "mro": ["warnings._catch_warnings_without_records", "warnings.catch_warnings", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "warnings._catch_warnings_without_records.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["warnings._catch_warnings_without_records"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of _catch_warnings_without_records", "ret_type": {".class": "NoneType"}, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "catch_warnings": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "warnings.catch_warnings", "name": "catch_warnings", "type_vars": []}, "flags": [], "fullname": "warnings.catch_warnings", "metaclass_type": null, "metadata": {}, "module_name": "warnings", "mro": ["warnings.catch_warnings", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "warnings.catch_warnings.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["warnings.catch_warnings"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of catch_warnings", "ret_type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "exc_type", "exc_val", "exc_tb"], "flags": [], "fullname": "warnings.catch_warnings.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": ["warnings.catch_warnings", {".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.BaseException"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.BaseException", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.TracebackType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of catch_warnings", "ret_type": {".class": "NoneType"}, "variables": []}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "warnings.catch_warnings.__new__", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 5, 5], "arg_names": ["cls", "record", "module"], "flags": ["is_overload", "is_decorated"], "fullname": "warnings.catch_warnings.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, {".class": "LiteralType", "fallback": "builtins.bool", "value": false}, {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings._catch_warnings_without_records", "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__new__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "flags": ["is_overload", "is_decorated"], "fullname": "warnings.catch_warnings.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, {".class": "LiteralType", "fallback": "builtins.bool", "value": true}, {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings._catch_warnings_with_records", "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__new__", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "flags": ["is_overload", "is_decorated"], "fullname": "warnings.catch_warnings.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, "builtins.bool", {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings.catch_warnings", "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "__new__", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 5, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, {".class": "LiteralType", "fallback": "builtins.bool", "value": false}, {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings._catch_warnings_without_records", "variables": []}, {".class": "CallableType", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, {".class": "LiteralType", "fallback": "builtins.bool", "value": true}, {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings._catch_warnings_with_records", "variables": []}, {".class": "CallableType", "arg_kinds": [0, 3, 5], "arg_names": ["cls", "record", "module"], "arg_types": [{".class": "TypeType", "item": "warnings.catch_warnings"}, "builtins.bool", {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of catch_warnings", "ret_type": "warnings.catch_warnings", "variables": []}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "filterwarnings": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["action", "message", "category", "module", "lineno", "append"], "flags": [], "fullname": "warnings.filterwarnings", "name": "filterwarnings", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["action", "message", "category", "module", "lineno", "append"], "arg_types": ["builtins.str", "builtins.str", {".class": "TypeType", "item": "builtins.Warning"}, "builtins.str", "builtins.int", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "filterwarnings", "ret_type": {".class": "NoneType"}, "variables": []}}}, "formatwarning": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 1], "arg_names": ["message", "category", "filename", "lineno", "line"], "flags": [], "fullname": "warnings.formatwarning", "name": "formatwarning", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1], "arg_names": ["message", "category", "filename", "lineno", "line"], "arg_types": ["builtins.str", {".class": "TypeType", "item": "builtins.Warning"}, "builtins.str", "builtins.int", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "formatwarning", "ret_type": "builtins.str", "variables": []}}}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}, "resetwarnings": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "warnings.resetwarnings", "name": "resetwarnings", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "resetwarnings", "ret_type": {".class": "NoneType"}, "variables": []}}}, "showwarning": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 1, 1], "arg_names": ["message", "category", "filename", "lineno", "file", "line"], "flags": [], "fullname": "warnings.showwarning", "name": "showwarning", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1, 1], "arg_names": ["message", "category", "filename", "lineno", "file", "line"], "arg_types": ["builtins.str", {".class": "TypeType", "item": "builtins.Warning"}, "builtins.str", "builtins.int", {".class": "UnionType", "items": ["typing.TextIO", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "showwarning", "ret_type": {".class": "NoneType"}, "variables": []}}}, "simplefilter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["action", "category", "lineno", "append"], "flags": [], "fullname": "warnings.simplefilter", "name": "simplefilter", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1], "arg_names": ["action", "category", "lineno", "append"], "arg_types": ["builtins.str", {".class": "TypeType", "item": "builtins.Warning"}, "builtins.int", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "simplefilter", "ret_type": {".class": "NoneType"}, "variables": []}}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef", "module_hidden": true, "module_public": false}, "warn": {".class": "SymbolTableNode", "cross_ref": "_warnings.warn", "kind": "Gdef"}, "warn_explicit": {".class": "SymbolTableNode", "cross_ref": "_warnings.warn_explicit", "kind": "Gdef"}}, "path": "/Users/thor/.mypyls/lib/python3.8/site-packages/mypy/typeshed/stdlib/2and3/warnings.pyi"}