# class C:标签:继承,self,11.3,func,pass,print,class,def From: https://www.cnblogs.com/zhh0125/p/16666923.html
# def func(self):
# print('in c')
#
# class B:
# def func(self):
# print('in B')
#
#
# class A(B,C): # 从左到右依次去找你调的方法,B离得最近,先走B得,没有B,才走C
# pass
# # def func(self):
# # print('in A')
#
#
# a=A()
# a.func()
# 我们多个类继承之间,广度优先
# 横向叫广度,纵向叫深度
#
# class A:
# def func(self):
# print('in A')
#
# class B(A):
# pass
# # def func(self):
# # print('in B')
#
#
# class C(A):
# pass
# # def func(self):
# # print('in C')
#
#
# class D(B,C):
# pass
#
#
# d=D()
# d.func()
# class A:
# def func(self):
# print('in A')
# class B(A):
# pass
# # def func(self):
# # print('in B')
# class C(A):
# pass
# # def func(self):
# # print('in C')
# class D(B):
# pass
# # def func(self):
# # print('in D')
# class E(C):
# pass
# # def func(self):
# # print('in E')
# class F(D,E):
# pass
# # def func(self):
# # print('in F')
# f=F()
# f.func()
#
# # 遵循C3算法,算法很复杂
# print(F.mro())
# super 多继承 遵循 mro得顺序