def unique_values(func):
    """
    Wrap a function returning an iterable such that the resulting iterable
    only ever yields unique items.
    """

    @wraps(func)
    def wrapper(*args, **kwargs):
        return unique_everseen(func(*args, **kwargs))

    return wrapper

    Wrap a function returning an iterable such that the resulting iterable
    only ever yields unique items.
    
product/gradle-plugin/src/main/python/setuptools/package_index.py