Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5806 > unrolled thread

Re: Inheriting Object

Started byWilliam <wbai@camiant.com>
First post2011-05-20 10:54 +0800
Last post2011-05-20 10:54 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Inheriting Object William <wbai@camiant.com> - 2011-05-20 10:54 +0800

#5806 — Re: Inheriting Object

FromWilliam <wbai@camiant.com>
Date2011-05-20 10:54 +0800
SubjectRe: Inheriting Object
Message-ID<mailman.1814.1305860890.9059.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web