On Mon, Aug 22, 2011 at 4:41 PM, Stephen Hansen <me+list/pyt...@ixokai.io> wrote: > Not exactly. Python has two somewhat different object models, "old style > classes" and "new style classes", with slightly different behavior and > internal structure. > > class Foo: pass > > is an "old-style class", dated back to Python's ancient past. This all > relates to the fact that 'type' and 'class' used to be two pretty > different things, where one was something you mostly did only in C, and > one was something you did (mostly) only in Python. They are largely the > same now.
And "now" includes everything in Python 3, where a class implicitly derives from object if no other subclassing is given. ChrisA -- http://mail.python.org/mailman/listinfo/python-list