Concrete implementation of :meth:`importlib.abc.SourceLoader.set_data`.
+ .. method:: load_module(name=None)
+
+ Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
+ specifying the name of the module to load is optional.
+
.. class:: SourcelessFileLoader(fullname, path)
Returns ``None`` as bytecode files have no source when this loader is
used.
+ .. method:: load_module(name=None)
+
+ Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
+ specifying the name of the module to load is optional.
+
.. class:: ExtensionFileLoader(fullname, path)
Path to the extension module.
- .. method:: load_module(fullname)
+ .. method:: load_module(name=None)
Loads the extension module if and only if *fullname* is the same as
:attr:`name` or is ``None``.