AttributeError: 'a' object has no attribute 'b'

前端 未结 0 1083
刺人心
刺人心 2020-12-11 16:22

class a:

def __int__(self):
    self.b = b()

def main(self):
    print(\'a\')
    self.b.main()

class b:

def __int__(self):
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题