摘要: python Singleton 1. Python __call__ special method practical example instantiate a class: x = Foo() is really x = type(Foo).__call__(Foo), where __cal 阅读全文
posted @ 2019-08-28 16:03 lvmxh 阅读(331) 评论(0) 推荐(0) 编辑