3 ms·
Nice description of method decorators. Didn't touch on class decorators, or decorators that can decorate both classes and methods (arguably very ugly wrapper fu
by stock_toaster 15y ago
Nice description of method decorators. Didn't touch on class decorators, or decorators that can decorate both classes and methods (arguably very ugly wrapper functions that return decorators that decorate).
- sudhirj 15y agoWrote a post a while ago that talks about them - http://hangar.runway7.net/decorators-wrappers-python http://hangar.runway7.net/decorators-wrappers-python