def fix_max(iterable):
    """
    Returns max value from a non-empty iterable.

    Args:
        iterable (iterable): Input iterable.

    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)