In python code, I often see the use of @property.
If I understand correctly, using the properties function, you can determine the device and the getter-getter.
Why use @property if the settings and deaeter are not defined (@ x.setter, @ x.deleter)? Isn't that the same as not using @property at all?
source
share