Inherting from object. Or not.
lee at example.com
Wed Jan 26 22:26:09 CET 2005
> What is the difference between inherting form object, and not doing it? E.g,
> what's the difference between the two following classes?
> class foo:
> class bar(object):
> Sometimes people inherit from it, and sometimes not. I don't see a pattern in
> their choices.
I think this is the best source:
Subclassing object gets you a "new style" class and some
additional capabilities. Maybe eventually it will not
More information about the Python-list