@decorator.decorator
def outplace(f, clip, *a, **k):
 newclip = clip.copy()
 f(newclip, *a, **k)
 return newclip

@ decorator . decorator def outplace ( f , clip , * a , ** k ) : newclip = clip . copy ( ) f ( newclip , * a , ** k ) return newclip
applies f(clip .