class ExplicitNamespacePackageFinder(ImportlibFinder): (source)
Method | contribute_to_path |
Get a list of extra paths where this finder can search. |
Method | find_module |
Find the given module |
Inherited from ImportlibFinder
:
Constant | _SUFFIXES |
Undocumented |
Inherited from Finder
(via ImportlibFinder
):
Method | __init__ |
Undocumented |
Instance Variable | _path |
Undocumented |
Find the given module
Each finder is responsible for each protocol of finding, as long as they all return a ModuleSpec.
Parameters | |
modname | Undocumented |
module_parts | Undocumented |
processed | Undocumented |
submodule_path | Undocumented |
str modname | The module which needs to be searched. |
list module_parts | It should be a list of strings, where each part contributes to the module's namespace. |
list processed | What parts from the module parts were processed so far. |
list submodule_path | A list of paths where the module can be looked into. |
Returns | |
A ModuleSpec, describing how and where the module was found, None, otherwise. |