Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5806 > unrolled thread
| Started by | William <wbai@camiant.com> |
|---|---|
| First post | 2011-05-20 10:54 +0800 |
| Last post | 2011-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.
Re: Inheriting Object William <wbai@camiant.com> - 2011-05-20 10:54 +0800
| From | William <wbai@camiant.com> |
|---|---|
| Date | 2011-05-20 10:54 +0800 |
| Subject | Re: 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
Back to top | Article view | comp.lang.python
csiph-web