That is, a call to obj.method() in a traditional OOP language will look through the method resolution order (MRO) of an object to find the "first" ancestor class of obj that has a method .method().
也就是说,在传统 OOP 语言中的 obj.method() 调用会通过对象的方法解析次序(method resolution order,MRO) 寻找 “第一个” 具有 .method() 方法的 obj 祖先类。
应用推荐