오늘은 데코레이터의 예를 살펴보기로 했습니다. 먼저 데코레이터에 대해서 살펴볼까요? Decorator with @ Syntax The current syntax for function decorators as implemented in Python 2.4a2 is: @dec2 @dec1 def func(arg1, arg2, ...): pass This is equivalent to: def func(arg1, arg2, ...): pass func = dec2(dec1(func)) without the intermediate assignment to the variable func. The decorators are near the function declaration. The @ sign makes i..