Different values for property vs attribute???

j_mckitrick j_mckitrick at bigfoot.com
Tue May 4 22:51:25 EDT 2004


> As someone else pointed out in another thread within the last 24 hours,
> properties are only supported for new-style classes.  Try changing the first
> line to
> 
> class Klass(object):
> 
> and see if it works.

That was it, thanks.  Sorry for the redundant question, but didn't
know (object) was necessary.  I thought the new interpreter added
those qualities automagically.

thanks again



More information about the Python-list mailing list