Decorator

Wraps another function.

def dec(f):
    def wrap(*a,**k): return f(*a,**k)
    return wrap
@dec
def foo(): pass