5 ms·
This type of article seems to be a right of passage from basic to upper-level/intermediate understanding of Python. Where it really gets crazy is if you are mak
by theVirginian 11y ago
This type of article seems to be a right of passage from basic to upper-level/intermediate understanding of Python. Where it really gets crazy is if you are making decorators that take parameters and in turn call decorated functions from within their block. You can do some really crazy stuff, even decorate classes.
I would like to see some more articles on Python metaclasses as I think that could benefit a lot of people.
- squidbidness 11y agoJust FYI, The expression is "rite of passage."
- theVirginian 11y agoWhoops, thanks. My phone doesn't like that word apparently