module documentation
(source)

Undocumented

Class ​Explicit​Namespace​Package​Finder A finder for the explicit namespace packages, generated through pkg_resources.
Class ​Finder A finder is a class which knows how to find a particular module.
Class ​Importlib​Finder A finder based on the importlib module.
Class ​Module​Spec Defines a class similar to PEP 420's ModuleSpec
Class ​Path​Spec​Finder Finder based on importlib.machinery.PathFinder.
Class ​Zip​Finder Finder that knows how to find a module inside zip files.
Function find​_spec Find a spec for the given module.
Variable ​Module​Type Undocumented
Function _cached​_set​_diff Undocumented
Function _find​_spec​_with​_path Undocumented
Function _is​_setuptools​_namespace Undocumented
Function _precache​_zipimporters No summary
Function _search​_zip Undocumented
Constant _SPEC​_FINDERS Undocumented
Variable _​Module​Spec Undocumented
def find_spec(modpath, path=None): (source)
Find a spec for the given module.
Parameters
modpath:list or tuplesplit module's name (i.e name of a module or package split on '.'), with leading empty strings for explicit relative import
path:list or Noneoptional list of path where the module or package should be searched (use sys.path if nothing or None is given)
Returns
ModuleSpecA module spec, which describes how the module was found and where.
ModuleType = (source)

Undocumented

@lru_cache()
def _cached_set_diff(left, right): (source)

Undocumented

def _find_spec_with_path(search_path, modname, module_parts, processed, submodule_path): (source)

Undocumented

def _is_setuptools_namespace(location): (source)

Undocumented

def _precache_zipimporters(path=None): (source)
For each path that has not been already cached in the sys.path_importer_cache, create a new zipimporter instance and add it into the cache. Return a dict associating all paths, stored in the cache, to corresponding zipimporter instances.
Parameters
pathpaths that has to be added into the cache
Returns
association between paths stored in the cache and zipimporter instances
def _search_zip(modpath, pic): (source)

Undocumented

_ModuleSpec = (source)

Undocumented