(Picking up a side track of the "python without OO" thread.)

On Wednesday 26 January 2005 11:01, Neil Benn wrote:

> I say this because you do need to be aware of the
> 'mythical python wand' which will turn you from a bad programmer into a
> good programmer simply by typing 'class Klass(object):'.

What is the difference between inherting form object, and not doing it? E.g, 
what's the difference between the two following classes?

class foo:
        pass

class bar(object):
        pass

Sometimes people inherit from it, and sometimes not. I don't see a pattern in 
their choices.


Cheers,

                Frans

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to