On 03/11/2016 09:59 PM, Veek. M wrote:

A property uses the @property decorator and has @foo.setter
@foo.deleter.

A descriptor follows the descriptor protocol and implements the __get__
__set__ __delete__ methods.

`property` is a descriptor combined with a decorator, so is a little more complex to understand.

--
~Ethan~

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to