Python classes: What is the true difference between `call` and `__call__`?

前端 未结 0 1421
情书的邮戳
情书的邮戳 2020-12-03 02:42

Is there a difference if I write a Python class with call() rather than __call__() ?

I have found both implementations, and both seem to wor

相关标签:
回答
  • 消灭零回复
提交回复
热议问题