2018-09-12 超簡単なデコレータ利用法 デコレータを使ってpython関数のエイリアスを作る def deco(f): return f() @deco def func(): return print func("hello") 何かキツネにつままれた感じ