Re: Are all classes new-style classes in 2.4+?
- From: Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss@xxxxxxxxxxxxxxx>
- Date: Sun, 31 Dec 2006 13:48:45 +0100
Isaac Rodriguez wrote:
This is probably a very basic question, but I've been playing with
new style classes, and I cannot see any difference in behavior
when a declare a class as:
class NewStyleClass(object):
or
class NewStyleClass:
Try multiple inheritance (the order of superclass selection is
different) or try using the keyword super.
Regards,
Björn
--
BOFH excuse #113:
Root nameservers are out of sync
.
- References:
- Are all classes new-style classes in 2.4+?
- From: Isaac Rodriguez
- Are all classes new-style classes in 2.4+?
- Prev by Date: Re: a question on python dict
- Next by Date: Re: Are all classes new-style classes in 2.4+?
- Previous by thread: Are all classes new-style classes in 2.4+?
- Next by thread: Re: Are all classes new-style classes in 2.4+?
- Index(es):
Relevant Pages
|