get_source(fullname) Returns None as extension modules do not have source code.
find_loader(fullname) A legacy method for finding a loader for the specified module.
find_spec(fullname, target=None) Attempt to find the spec to handle fullname within path.
name The name of the module that this loader will handle.
class importlib.machinery.SourceFileLoader(fullname, path) A concrete implementation of importlib.abc.SourceLoader
path_stats(path) Concrete implementation of importlib.abc.SourceLoader.path_stats().
find_module(fullname[, path]) Search for a module specified by fullname. fullname must be the fully qualified
importlib.util.find_spec(name, package=None) Find the spec for a module, optionally relative
@importlib.util.set_loader A decorator for importlib.abc.Loader.load_module()
path The path to the source file.
Page 12 of 15