def max_iterable(iterable):
    """
    Returns the maximum value from an iterable.

    Args:
        iterable (iterable): An iterable containing numeric values.

    Returns:
        The maximum value in the iterable.

    Raises:
        ValueError: If the iterable is empty.
    """
    if not iterable:
        raise ValueError("max() iterable argument is empty")
    return max(iterable)