摘要:
一、self总是指向调用时的类的实例。 eg: class Test: def Print(self, data): print(data) T= Test() T.Print(abc) >>>abc 其实t.Print()在执行过程中被翻译成Test.Print(T, abc) 二、对数据的一种绑 阅读全文
posted @ 2020-03-18 18:26
Mydream6
阅读(197)
评论(0)
推荐(0)
2020年3月18日