📜  __call__() python 代码示例

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

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

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