Inheriting Object

William wbai at camiant.com
Thu May 19 22:54:57 EDT 2011


Hi Nav:

        Here is the long why.
http://www.python.org/download/releases/2.2.3/descrintro/
        I guess for most programs, there is no big difference, but if
you use some special features that might be different. Say, could use
super when using type() instead of class(), also, when using multiple
inheritance, you can't multiply inherit from different built-in types.
Some new features such as property() is not supported in type either.
       

BRs
William
 
On 01/-9/-28163 03:59 AM, Navkirat Singh wrote:
> Hi Guys,
>
> I have been wondering for a while now as to why some classes inherit
> Object? And what does it really do for the class? Can anyone shed some
> light on this?
>
> Regards,
> Nav




More information about the Python-list mailing list