[Tutor] a class query

python at bdurham.com python at bdurham.com
Mon Jun 7 17:12:28 CEST 2010


Not the OP, but I was surprised to see class Name() work (in Python
2.6.5 at least).

Is this equivalent to class Name( object ) or does this create an old
style class?

Going forward into the 2.7/3.x world, is there a preferred style?

Thanks,
Malcolm


More information about the Tutor mailing list