def SwallowArgs(func):
 @functools.wraps(func)
 def Decorator(arg, *unused_args):
  return func(arg)
 return Decorator

def SwallowArgs ( func ) : @ functools . wraps ( func ) def Decorator ( arg , * unused_args ) : return func ( arg ) return Decorator
decorator to allow a single arg function to accept multiple arguments .