📜  __call__ python 代码示例

📅  最后修改于: 2022-03-11 14:45:21.818000             🧑  作者: Mango

代码示例2
class Foo:
    def __call__(self, a, b, c):
        # ...

x = Foo()
x(1, 2, 3) # __call__