[Tutor] a class query

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Jun 7 17:24:44 CEST 2010


On 07/06/2010 16:12, python at bdurham.com wrote:
> 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
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>

RTFM? :)

Kindest regards.

Mark Lawrence.



More information about the Tutor mailing list