Decorators in Python — need some explanation

Правка en1, от wineColoredDays, 2017-02-02 09:59:55

To all the Python Gods out there, can you please explain the concept of decorators in Python.

I need to understand how it works, what are its advantages, how can be it applied over functions and classes. And hold, how you keep track when there are multiple decorators applied to the same class or function. I mean how you visualize.

Thanks in advance :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский wineColoredDays 2017-02-02 09:59:55 406 Initial revision (published)