def ignore_args(function_args, args2ignore, ignore_value = None):
    """ Remove argument values to be ignored.

    Args:
        function_args: list of function arguments.
        args2ignore: list of integers representing index in argument list.
        ignore_value: value to substitute in ignored arguments.
    """

    function_args = list(function_args)
    for i in args2ignore:
        function_args[i] = ignore_value

    return function_args