摘要: 单例补充和网络编程(理论) ​​# classmethod 单例模式# class Singleton:## __instance = None## @classmethod# def singleton(cls):## if not cls.__instance:## cls.__instance 阅读全文
posted @ 2019-12-04 16:21 迎着阳光 阅读(468) 评论(0) 推荐(0) 编辑