def offset_func(func, offset, *args):
 def _offset(*args):
  args2 = list(map(add, args, offset))
  return func(*args2)
 with ignoring(Exception):
  _offset.__name__ = ('offset_' + func.__name__)
 return _offset

def offset_func ( func , offset , * args ) : def _offset ( * args ) : args2 = list ( map ( add , args , offset ) ) return func ( * args2 ) with ignoring ( Exception ) : _offset . __name__ = ( 'offset_' + func . __name__ ) return _offset
offsets inputs by offset .