摘要:
class Pro: def __init__(self,func): self.func = func def __get__(self, instance, owner): return self.func(instance) class Room: def __init__(self,name,width,length): self.name = name self.width = widt 阅读全文
摘要:
{'__module__': '__main__', '__init__': <function People.__init__ at 0x000000000291D1E0>, '__dict__': <attribute '__dict__' of 'People' objects>, '__we 阅读全文