def map_generate_tuple(*args):
    """Generate a tuple with the results from the func.

    Used to assist dict(), map() to generate a dictionary.

    Args:
        *args (list): [0]:(
            key (immutable): key of the generated dict,
            func (function): function to be called,
            arg (tuple): arguments for func)

    Returns:
        tuple: (key, func(*arg))

    """
    key, func, arg = args[0][0], args[0][1], args[0][2]
    return (key, func(*arg))