Working Notes: a commonplace notebook for recording & exploring ideas.
Home. Site Map. Subscribe. More at expLog.
__get__
get value of attribute for instance or class__set__
set value of instance (data descriptor)__delete__
delete attribute on instancea.x
x.__get__(a)
type(a).__dict__['x'].__get__(a, type(a))
@staticmethod
& @classmethod
are non-data descriptors— Kunal