module documentation
Undocumented
Class |
|
A finder for the explicit namespace packages. |
Class |
|
A finder is a class which knows how to find a particular module. |
Class |
|
A finder based on the importlib module. |
Class |
|
Defines a class similar to PEP 420's ModuleSpec. |
Class |
|
Python module types used for ModuleSpec. |
Class |
|
Finder based on importlib.machinery.PathFinder. |
Class |
|
Finder that knows how to find a module inside zip files. |
Function | find |
Find a spec for the given module. |
Class | _ |
Undocumented |
Function | _find |
Undocumented |
Function | _get |
Undocumented |
Function | _is |
Undocumented |
Function | _search |
Undocumented |
Constant | _SPEC |
Undocumented |
Variable | _ |
Undocumented |
Variable | _ |
Undocumented |
Find a spec for the given module. :type modpath: list or tuple :param modpath: split module's name (i.e name of a module or package split on '.'), with leading empty strings for explicit relative import :type path: list or None :param path: optional list of path where the module or package should be searched (use sys.path if nothing or None is given) :rtype: ModuleSpec :return: A module spec, which describes how the module was found and where.
def _find_spec_with_path(search_path:
Sequence[ str]
, modname: str
, module_parts: list[ str]
, processed: list[ str]
, submodule_path: Sequence[ str]|None
) -> tuple[ Finder|_MetaPathFinder, ModuleSpec]
:
(source)
¶
Undocumented
def _search_zip(modpath:
Sequence[ str]
) -> tuple[ Literal[ ModuleType.PY_ZIPMODULE], str, str]
:
(source)
¶
Undocumented