python多父类继承示例

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

class A:
    def foo(self):
        print 'foo called in A'

class B:
    def foo(self):
        print 'foo called in B'

    def bar(self):
        print 'bar called in B'

class C(A,B):
    pass