#a1.py
def f1(arg): print ("f1") rl = arg() print (rl) return rl + "f1"
@f1def f2(arg = "aaaaa"): print ("f2") return arg + "f2r"
python a1.py output :
f1f2aaaaa f2r