python 同一个类里的不一样两个函数,其中一个调用另外一个

class AAA: def aaa(self): self.bbb() def bbb(self): print('222') a = AAA() a.aaa() #最后输出222
相关文章
相关标签/搜索