Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decorator Module Standard

I was wondering if it's frowned upon to use the decorator module that comes with python. Should I be creating decorators using the original means or is it considered okay practice to use the module?

like image 248
Kyle Avatar asked May 11 '26 18:05

Kyle


1 Answers

the decorator module in pypi is a third party module from Michele Simionato. It does not belong to the python standard library.

In most cases you dont need this module to work with decorators.

Still it provides you with some useful tools that can simplify some uses of decorators. In any case it is a nice module to learn about decorators

like image 187
joaquin Avatar answered May 13 '26 07:05

joaquin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!