Definition of "property"

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 31 20:47:22 EDT 2021


On 1/06/21 2:34 am, Jon Ribbens wrote:
>  From the outside, it's just a *data* attribute. Which, from the inside,
> it isn't. Hence "pretending".

But what is it about the external appearance that would make
you think it's a data attribute, rather than some other kind
of attribute?

(I'm assuming that by "data attribute" you mean a piece of
data that's stored directly in the object. If you mean
something else, we might be talking at cross purposes.)

-- 
Greg


More information about the Python-list mailing list