[Tutor] Basic class inheritance
Negroup -
negroup at gmail.com
Thu Jul 28 17:52:08 CEST 2005
[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
More information about the Tutor
mailing list