0

Are decorators of any use in Python?

Explain in layman's term

26th May 2020, 12:14 PM
swaggy tarret
1 Odpowiedź
+ 1
Decorators are very powerful and useful tool in Python since it allows programmers to modify the behavior of function or class. Decorators allow us to wrap another function in order to extend the behavior of wrapped function, without permanently modifying it
27th May 2020, 9:03 AM
Gaurav Kulkarni
Gaurav Kulkarni - avatar