TypeError: Cannot create a consistent method resolution
无法创建一致的方法解析
原因是继承顺序错了
若B继承A,C要继承A和B,则需将B写在前面,A写在后面
class C(B, A):
pass
详情参考:
https://blog.csdn.net/qq_31362767/article/details/99192735
标签:TypeError,继承,create,Cannot,consistent,method
来源: https://www.cnblogs.com/nailao/p/15607708.html