super(...).__init__() vs Base.__init__(self)

Tony Nelson *firstname*nlsnews at georgea*lastname*.com
Thu Feb 9 23:04:02 EST 2006


In article <43eba7f7$0$507$9b4e6d93 at newsread4.arcor-online.net>,
 Jan Niklas Fingerle <usenet-2004 at lithe.de> wrote:

> ...Super is a good tool to use, when dealing with
> diamond shape inheritance. In any other case I would use the direct
> calls to the base classes. In fact, i've yet to find a non-textbook-case
> where I really need diamond shape inheritance. ...

As long as you don't use multiple inheritance with new-style classes, 
you'll be fine.
________________________________________________________________________
TonyN.:'                        *firstname*nlsnews at georgea*lastname*.com
      '                                  <http://www.georgeanelson.com/>



More information about the Python-list mailing list