@classmethod
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.

        """
    spec = cls.find_spec(fullname, path)
    if spec is None:
        return None
    return spec.loader
