Inheriting from object

Fuzzyman fuzzyman at gmail.com
Thu Jun 30 03:36:34 EDT 2005


The reason I ask is that I often (well... a couple of times anyway) see
cryptic omments like :

    and if you inherit from object you get all the benefits of new
style classes

Now I know about the advantages of inheriting from the built in types
(if that's what you want to do) -but am a bit fuzzier on the 'general
benefits'.

I'm vaguely aware of properties.... I'll have to explore them at some
point.

Best Regards,

Fuzzy
http://www.voidspace.org.uk/python




More information about the Python-list mailing list