Alex Greif wrote:
> BUT what happens if B extends from A and AA like:
>
> class A(object):
> def __init__(self, args):
> ...
>
> class AA(object):
> def __init__(self, args):
> ...
>
> class B(A,AA):
> def __init__(self, args):
> super(B, self).__init__(args)
>
>
> How can I tell that B.__ini
Hi,
Before 2.2 I could initialize multiple super classes like this:
class B(A,AA):
def __init__(self, args):
A.__init__(self,args)
AA.__init__(self,args)
Tutorials say that since python 2.2 superclasses should be initialized
with the super() construct.
class A(object):
de