摘要: [Python] __call__ class sample(): def __call__(self,arg_call): print("__call__ is executed, the arg is %s") a=sample() a("test") __call__ is executed, 阅读全文
posted @ 2020-12-13 16:31 Harry666 阅读(54) 评论(0) 推荐(0) 编辑