摘要:
class Foo: x=1 def __init__(self,y): self.y=y def __getattr__(self, item): print('----> from getattr:你找的属性不存在') def __setattr__(self, key, value): print('--... 阅读全文
posted @ 2017-04-24 16:31
征丶
阅读(115)
评论(0)
推荐(0)
2017年4月24日