[Fwd: RE: Lists in classes]

Wildemar Wildenburger wildemar at freakmail.de
Fri Jul 13 01:09:48 CEST 2007

Adam Pletcher wrote:

> I'm curious (and somewhat new to Python)... What's the benefit of
> inheriting from 'object'?
> The docs aren't clear on that, nor is that used in the class examples
> I've seen.
> Thanks in advance.
Well, they are, but they are just not well integrated. Which they, the 
docs themselves, admit. The keyword is 'new-style classes'. Have a read 
or two:

Maybe this is a better intro, however:

Hope that helps.

More information about the Python-list mailing list