osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newb question about @property


Steve D'Aprano wrote:
>
> [1] Technically, the interpreter knows nothing about properties. What it cares
> about is *descriptors*. Properties are just one kind of descriptor, as are
> methods. But I'm intentionally not talking about the gory details of
> descriptors. Feel free to ask if you care, but honestly, you don't need to care
> unless you are writing your own descriptor class.
>
I found the following page to be a very easily accessible discussion 
about descriptors (it represents the state of my knowledge about 
descriptors).   You got more?  : )

https://www.programiz.com/python-programming/decorator