Decorator
-
[Python] - Decorator개발/Python 2022. 9. 2. 15:13
Decorator A decorator in Python is a function that takes another function as its argument, and returns yet another function Decorators can be extremely useful as they allow the extension of an existing function, without any modification to the original function source code. Decorators is similar to Closure , Decorator is same Closure which parameter is function and add logic before and after fun..