Definition of "property"

Greg Ewing greg.ewing at canterbury.ac.nz
Sun May 30 20:27:07 EDT 2021


On 31/05/21 4:57 am, Irv Kalb wrote:
> Perhaps the best I've found so far is from the Python documentation:
> 
> A property object has getter, setter, and deleter methods usable as decorators that create a copy of the property with the corresponding accessor function set to the decorated function.

That's not a definition of a property -- it's talking about a
mechanism that provides one way of creating a property, using
decorators. DON'T quote that as a definition!

-- 
Greg


More information about the Python-list mailing list