摘要: 1. self代表类的实例,而非类 class Test: def prt(self): print(self) print(self.__class__) t = Test() t.prt() <__main__.Test object at 0x000002345ED1DFC8> <class 阅读全文
posted @ 2021-08-04 15:20 做梦当财神 阅读(115) 评论(0) 推荐(0)