Python类中的__call__()方法 发表评论 / 二战python / 作者: Mr晨 一个类实例也可以变成一个可调用对象,只需要实现一个特殊方法__call__()。http://xzh.i3geek.com