Skip to content Skip to sidebar Skip to footer
Showing posts with the label Descriptor

Class Attribute Changing Value For No Reason

I have a problem with a program I am writing and i cannot for the life of me figure out what I am d… Read more Class Attribute Changing Value For No Reason

When And Why Might I Assign An Instance Of A Descriptor Class To A Class Attribute In Python Rather Than Use A Property?

I'm aware that a property is a descriptor, but are there specific examples of when using a desc… Read more When And Why Might I Assign An Instance Of A Descriptor Class To A Class Attribute In Python Rather Than Use A Property?

Python Descriptor Vs Property

Possible Duplicate: When and why might I assign an instance of a descriptor class to a class attrib… Read more Python Descriptor Vs Property