(cls, fullname, path=None)
return spec.loader
find the module on sys.path or 'path' based on sys.path_hooks and
        sys.path_importer_cache.

        This method is deprecated.  Use find_spec() instead.
find the module on sys.path or 'path' based on sys.path_hooks and
        sys.path_importer_cache.
find the module on sys . path or path based on sys . path_hooks and sys . path_importer_cache .
def find_module(cls, fullname, path=None):
        """find the module on sys.path or 'path' based on sys.path_hooks and
        sys.path_importer_cache.

        This method is deprecated.  Use find_spec() instead.

        """
        _warnings.warn("PathFinder.find_module() is deprecated and "
                       "slated for removal in Python 3.12; use find_spec() instead",
                       DeprecationWarning)
        spec = cls.find_spec(fullname, path)
        if spec is None:
            return None
        return spec.loader
def find_module ( cls , fullname , path = None ) : _warnings . warn ( "PathFinder.find_module() is deprecated and " "slated for removal in Python 3.12; use find_spec() instead" , DeprecationWarning ) spec = cls . find_spec ( fullname , path ) if spec is None : return None return spec . loader