When is using __call__ a good idea?

Viewed 4640

What are peoples' opinions on using the __call__. I've only very rarely seen it used, but I think it's a very handy tool to use when you know that a class is going to be used for some default behaviour.

4 Answers
Related