Hi group,
I am confused with "super" usage..It seems to be complicated and less
obvious.
Here is what I need to achieve..

class A :
    def __init__( self ):
        self.x  = 0

class B ( A ):
    def __init__( self, something ):
        # Use "super" construct here so that I can "inherit" x of A
        self.y  = something

How should I use "super" so that I could access the variable "x" of A
in B?

Thanks!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to