Descriptors

A descriptor is a special object that controls access to attributes of another object. Both objects must be new-style classes, and the descriptor must be attached to the owner’s class object, rather than to an instance.

In the following example, the my_descriptor instance