class A(object):
    def __init__(self, value=0.):
        self.value = value

class B(A):
    def __init__(self, value=None):
        A.__init__(self)
        self.value = value

obj = B()

When "B" initializes, it overwrite "value" variable of "A". How do I
make sure that no variable should not be defined with names of "A" in
"B"?

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

Reply via email to