def from_package(package: types.ModuleType):
    """
    Return a Traversable object for the given package.

    """
    spec = wrap_spec(package)
    reader = spec.loader.get_resource_reader(spec.name)
    return reader.files()

    Return a Traversable object for the given package.

    
product/gradle-plugin/src/main/python/pkg_resources/_vendor/importlib_resources/_common.py