A bit more general:
def composed(*decs):
def deco(f):
for dec in reversed(decs):
f = dec(f)
return f
return deco
Then
@composed(dec1, dec2)
def some(f):
pass
is equivalent to
@dec1
@dec2
def some(f):
pass