{".class": "MypyFile", "_fullname": "unittest.signals", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "ParamSpec": {".class": "SymbolTableNode", "cross_ref": "typing_extensions.ParamSpec", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TypeVar": {".class": "SymbolTableNode", "cross_ref": "typing.TypeVar", "kind": "Gdef", "module_hidden": true, "module_public": false}, "_P": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "ParamSpecExpr", "fullname": "unittest.signals._P", "name": "_P", "upper_bound": "builtins.object", "variance": 0}}, "_T": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeVarExpr", "fullname": "unittest.signals._T", "name": "_T", "upper_bound": "builtins.object", "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.signals.__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": "unittest.signals.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.signals.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.signals.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.signals.__package__", "name": "__package__", "type": "builtins.str"}}, "installHandler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "unittest.signals.installHandler", "name": "installHandler", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "installHandler", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef", "module_hidden": true, "module_public": false}, "registerResult": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["result"], "flags": [], "fullname": "unittest.signals.registerResult", "name": "registerResult", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["result"], "arg_types": ["unittest.result.TestResult"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "registerResult", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "removeHandler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "unittest.signals.removeHandler", "impl": null, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [1], "arg_names": ["method"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.signals.removeHandler", "name": "removeHandler", "type": {".class": "CallableType", "arg_kinds": [1], "arg_names": ["method"], "arg_types": [{".class": "NoneType"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "removeHandler", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "removeHandler", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["method"], "flags": ["is_overload", "is_decorated"], "fullname": "unittest.signals.removeHandler", "name": "removeHandler", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["method"], "arg_types": [{".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "ParamSpecType", "flavor": 1, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, {".class": "ParamSpecType", "flavor": 2, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.str", "builtins.object"], "type_ref": "builtins.dict"}}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "removeHandler", "ret_type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "ParamSpecType", "flavor": 1, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, {".class": "ParamSpecType", "flavor": 2, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.str", "builtins.object"], "type_ref": "builtins.dict"}}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, "type_guard": null, "variables": [{".class": "ParamSpecType", "flavor": 0, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": "builtins.object"}, {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "removeHandler", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [1], "arg_names": ["method"], "arg_types": [{".class": "NoneType"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "removeHandler", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0], "arg_names": ["method"], "arg_types": [{".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "ParamSpecType", "flavor": 1, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, {".class": "ParamSpecType", "flavor": 2, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.str", "builtins.object"], "type_ref": "builtins.dict"}}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "removeHandler", "ret_type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "ParamSpecType", "flavor": 1, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, {".class": "ParamSpecType", "flavor": 2, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": {".class": "Instance", "args": ["builtins.str", "builtins.object"], "type_ref": "builtins.dict"}}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, "type_guard": null, "variables": [{".class": "ParamSpecType", "flavor": 0, "fullname": "unittest.signals._P", "id": -1, "name": "_P", "prefix": {".class": "Parameters", "arg_kinds": [], "arg_names": [], "arg_types": [], "variables": []}, "upper_bound": "builtins.object"}, {".class": "TypeVarType", "fullname": "unittest.signals._T", "id": -2, "name": "_T", "namespace": "", "upper_bound": "builtins.object", "values": [], "variance": 0}]}]}}}, "removeResult": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["result"], "flags": [], "fullname": "unittest.signals.removeResult", "name": "removeResult", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["result"], "arg_types": ["unittest.result.TestResult"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "removeResult", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/mypy/typeshed/stdlib/unittest/signals.pyi"} |