现在明白self 的意思了吧,self 就是指调用者本身。当实例对象foo 调用其bar 方法时: foo.bar() 在底层就是把foo 作为函数bar 的第一个参数进行调用 ...
確定! 回上一頁