When to derive from object?

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue Oct 13 10:49:24 EDT 2009


Igor Mikushkin a écrit :
> Hello all!
> 
> I'm a newbie to Python.

Welcome onboard

> Could you please say me when it is better to derive from "object" and
> when not?

- When not : when using Python >= 3.0, or when already subclassing 
another class.

- When : any other case !-)




More information about the Python-list mailing list