摘要: class test(object): flog = None flog1 = False def __new__(cls, *args, **kwargs): if cls.flog is None: cls.flog = super().__new__(cls) return cls.flog def... 阅读全文
posted @ 2019-04-10 16:22 xusuns 阅读(99) 评论(0) 推荐(0) 编辑