Answers for "what is __call__ in python used for"

2

__call__() python

class Foo:
    def __call__(self, a, b, c):
        # ...

x = Foo()
x(1, 2, 3) # __call__
Posted by: Guest on June-08-2020

Code answers related to "what is __call__ in python used for"

Python Answers by Framework

Browse Popular Code Answers by Language