def responder(f):
 return update_wrapper((lambda *a: f(*a)(*a[(-2):])), f)

def responder ( f ) : return update_wrapper ( ( lambda * a : f ( * a ) ( * a [ ( - 2 ) : ] ) ) , f )
marks a function as responder .