class C: vs class C(object):

Lutz Horn dev-random at
Thu Jul 19 09:43:02 CEST 2007


On Thu, 19 Jul 2007 09:40:24 +0200, Bruno Desthuilliers  
<bruno.42.desthuilliers at> wrote:
> there's absolutely no reason to use it no more since "new-style" classes  
> can do anything "Classic" classes did and much more. IOW, don't even  
> bother with old-style classes.

Just for the records: the new and preferred style is

class C(object):

Using Opera's revolutionary e-mail client:

More information about the Python-list mailing list