{".class": "MypyFile", "_fullname": "importlib.util", "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}, "LazyLoader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["_importlib_modulespec.Loader"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "importlib.util.LazyLoader", "name": "LazyLoader", "type_vars": []}, "flags": [], "fullname": "importlib.util.LazyLoader", "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "importlib.util", "mro": ["importlib.util.LazyLoader", "_importlib_modulespec.Loader", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "loader"], "flags": [], "fullname": "importlib.util.LazyLoader.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "loader"], "arg_types": ["importlib.util.LazyLoader", "_importlib_modulespec.Loader"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of LazyLoader", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "create_module": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "flags": [], "fullname": "importlib.util.LazyLoader.create_module", "name": "create_module", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "arg_types": ["importlib.util.LazyLoader", "_importlib_modulespec.ModuleSpec"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "create_module of LazyLoader", "ret_type": {".class": "UnionType", "items": ["_importlib_modulespec.ModuleType", {".class": "NoneTyp"}]}, "variables": []}}}, "exec_module": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "module"], "flags": [], "fullname": "importlib.util.LazyLoader.exec_module", "name": "exec_module", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "module"], "arg_types": ["importlib.util.LazyLoader", "_importlib_modulespec.ModuleType"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "exec_module of LazyLoader", "ret_type": {".class": "NoneTyp"}, "variables": []}}}, "factory": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["cls", "loader"], "flags": ["is_class", "is_decorated"], "fullname": "importlib.util.LazyLoader.factory", "name": "factory", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["cls", "loader"], "arg_types": [{".class": "TypeType", "item": "importlib.util.LazyLoader"}, "_importlib_modulespec.Loader"], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "factory of LazyLoader", "ret_type": {".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "importlib.util.LazyLoader", "variables": []}, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod"], "fullname": null, "name": "factory", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["cls", "loader"], "arg_types": [{".class": "TypeType", "item": "importlib.util.LazyLoader"}, "_importlib_modulespec.Loader"], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "factory of LazyLoader", "ret_type": {".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "importlib.util.LazyLoader", "variables": []}, "variables": []}}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef", "module_hidden": true, "module_public": false}, "MAGIC_NUMBER": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "importlib.util.MAGIC_NUMBER", "name": "MAGIC_NUMBER", "type": "builtins.bytes"}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_hidden": true, "module_public": false}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "importlib.util.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "importlib.util.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "importlib.util.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "importlib.util.__package__", "name": "__package__", "type": "builtins.str"}}, "cache_from_source": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 5], "arg_names": ["path", "debug_override", "optimization"], "flags": [], "fullname": "importlib.util.cache_from_source", "name": "cache_from_source", "type": {".class": "CallableType", "arg_kinds": [0, 1, 5], "arg_names": ["path", "debug_override", "optimization"], "arg_types": ["builtins.str", {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneTyp"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneTyp"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "cache_from_source", "ret_type": "builtins.str", "variables": []}}}, "decode_source": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["source_bytes"], "flags": [], "fullname": "importlib.util.decode_source", "name": "decode_source", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["source_bytes"], "arg_types": ["builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "decode_source", "ret_type": "builtins.str", "variables": []}}}, "find_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["name", "package"], "flags": [], "fullname": "importlib.util.find_spec", "name": "find_spec", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["name", "package"], "arg_types": ["builtins.str", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneTyp"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "find_spec", "ret_type": {".class": "UnionType", "items": ["_importlib_modulespec.ModuleSpec", {".class": "NoneTyp"}]}, "variables": []}}}, "importlib": {".class": "SymbolTableNode", "cross_ref": "importlib", "kind": "ModuleRef", "module_hidden": true, "module_public": false}, "module_for_loader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["fxn"], "flags": [], "fullname": "importlib.util.module_for_loader", "name": "module_for_loader", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["fxn"], "arg_types": [{".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "module_for_loader", "ret_type": {".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}, "variables": []}}}, "module_from_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["spec"], "flags": ["is_conditional"], "fullname": "importlib.util.module_from_spec", "name": "module_from_spec", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["spec"], "arg_types": ["_importlib_modulespec.ModuleSpec"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "module_from_spec", "ret_type": "_importlib_modulespec.ModuleType", "variables": []}}}, "resolve_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["name", "package"], "flags": [], "fullname": "importlib.util.resolve_name", "name": "resolve_name", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["name", "package"], "arg_types": ["builtins.str", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "resolve_name", "ret_type": "builtins.str", "variables": []}}}, "set_loader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["fxn"], "flags": [], "fullname": "importlib.util.set_loader", "name": "set_loader", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["fxn"], "arg_types": [{".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "set_loader", "ret_type": {".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}, "variables": []}}}, "set_package": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["fxn"], "flags": [], "fullname": "importlib.util.set_package", "name": "set_package", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["fxn"], "arg_types": [{".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "set_package", "ret_type": {".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", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": "_importlib_modulespec.ModuleType", "variables": []}, "variables": []}}}, "source_from_cache": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["path"], "flags": [], "fullname": "importlib.util.source_from_cache", "name": "source_from_cache", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["path"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "source_from_cache", "ret_type": "builtins.str", "variables": []}}}, "spec_from_file_location": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["name", "location", "loader", "submodule_search_locations"], "flags": [], "fullname": "importlib.util.spec_from_file_location", "name": "spec_from_file_location", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["name", "location", "loader", "submodule_search_locations"], "arg_types": ["builtins.str", "builtins.str", {".class": "UnionType", "items": ["_importlib_modulespec.Loader", {".class": "NoneTyp"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, {".class": "NoneTyp"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "spec_from_file_location", "ret_type": "_importlib_modulespec.ModuleSpec", "variables": []}}}, "spec_from_loader": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5, 5], "arg_names": ["name", "loader", "origin", "loader_state", "is_package"], "flags": [], "fullname": "importlib.util.spec_from_loader", "name": "spec_from_loader", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5, 5], "arg_names": ["name", "loader", "origin", "loader_state", "is_package"], "arg_types": ["builtins.str", {".class": "UnionType", "items": ["_importlib_modulespec.Loader", {".class": "NoneTyp"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneTyp"}]}, {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "NoneTyp"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneTyp"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "spec_from_loader", "ret_type": "_importlib_modulespec.ModuleSpec", "variables": []}}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "ModuleRef", "module_hidden": true, "module_public": false}, "types": {".class": "SymbolTableNode", "cross_ref": "types", "kind": "ModuleRef", "module_hidden": true, "module_public": false}}, "path": "/home/hegder/anaconda3/envs/dp2/lib/python3.5/site-packages/mypy/typeshed/stdlib/3/importlib/util.pyi"}