Unofficial docs


Python Members Club

Meeting point of python coders

    
    @__loader__

Python Library Documentation: ExtensionFileLoader in module importlib._bootstrap object

class ExtensionFileLoader(builtins.object)
 |  Loader for extension modules.
 |  
 |  The constructor is designed to work with FileFinder.
 |  
 |  Methods defined here:
 |  
 |  __eq__(self, other)
 |  
 |  __hash__(self)
 |  
 |  __init__(self, name, path)
 |  
 |  get_code(self, fullname)
 |      Return None as an extension module cannot create a code object.
 |  
 |  get_filename(self, name=None, *args, **kwargs)
 |      Return the path to the source file as found by the finder.
 |  
 |  get_source(self, fullname)
 |      Return None as extension modules have no source code.
 |  
 |  is_package(self, fullname)
 |      Return True if the extension module is a package.
 |  
 |  load_module(self, name=None, *args, **kwargs)
 |      Load an extension module.
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  __dict__
 |      dictionary for instance variables (if defined)
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)