Can somebody clear this up for me?
------

Class B(A): def __init__(self, a) A.__init__(a) self.a = a a = A() ba = B(a)
bc = B(a) bd = B(a) ------ I'm not sure what A.__init__ here does. I would
think its __init__ is designed specifically to run once for any given
object.. so i'm not sure what happens. and if A calls self.blah(), which
instance of B which overrides blah gets called?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to