(cls, fullname, path=None)
return spec.loader if spec is not None else None
Find the built-in module.

        If 'path' is ever specified then the search is considered a failure.

        This method is deprecated.  Use find_spec() instead.
Find the built-in module.
Find the built - in module .
def find_module(cls, fullname, path=None):
        """Find the built-in module.

        If 'path' is ever specified then the search is considered a failure.

        This method is deprecated.  Use find_spec() instead.

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