Description

Multiple decorators are applied in nested fashion. When passed as arguments to a function, the closest to def function() must be the first.

Example

@f1(arg)
@f2
def func(): pass

is roughly equivalent to

def func(): pass
func = f1(arg)(f2(func))