24 ms·
Python FAQ: Descriptors
- j_baker 14y agoDescriptors are among the blackest of Python's black magic, but they serve a very useful purpose. Thanks for helping to make them easier to understand.
- lucian1900 14y agoAn interesting usage of descriptors not mentioned in the article are bound methods, which turn Class.function(self, x) into instance.method(x).