def cb(function, n=1):  # pylint: disable=invalid-name
    """Create a callback whose first n argument are ignored

    Returns a function whose first n arguments are ignored, and which returns
    the result of the function passed in parameters :
    cb(f)(ignored, *args) == f(*args)
    cb(f, 2)(i1, i2, *args) == f(*args)
    """
    return lambda *args: function(*args[n:])