[cut]
> 
> Yes, that is the more modern way to do it for new-style classes. In the 
> original example, class A does not inherit from object so I used the older 
> style.
> 

Thanks guys for your answers, it's clear (even if I wouldn't be able
to figure it out by my own).

About old style/new style classes, do you suggest some *simple*
reading? Documents found here http://www.python.org/doc/newstyle.html
are too technical for me now..

TIA
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to