def deco_ch(f): f.jjjjj = 10 return f @deco_ch def foo(): print(foo.jjjjj)