Python多重继承 python多重继承要点 多重继承 如果还是用上面这种方式会导致超类被初始化两次. so要使用super Python2 3 区别 python多重继承要点 一种很挫的写法 class MyBase(object): def __init__(self, value): print "init MyBase" self.value = value class TimesTwo(object): def __init__(self): print "init TimesTwo" self.value *= 2