ian.g.kelly at gmail.com
Thu Sep 1 15:57:00 CEST 2011
On Thu, Sep 1, 2011 at 3:04 AM, Michiel Overtoom <motoom at xs4all.nl> wrote:
> On Sep 1, 2011, at 10:24, Hegedüs Ervin wrote:
>> On Thu, Sep 01, 2011 at 10:00:27AM +0200, Michiel Overtoom wrote:
>>> Derive your class from object,
>> why's that better than just create a simple class, without
> Amongst other things, fixes to the type system and the method resolution order.
That is for Python 2. For Python 3, old-style classes are gone, all
classes derive from object by default, and writing it explicitly is
merely good style for compatibility.
More information about the Python-list