title: Python - 'call' a class
body: <p>If I have a class, is there anyway to catch the event of calling it as if it were a function?</p>
  
  <pre><code>obj = ExampleClass()
  obj() -- and error occurs because I am 'calling' a class instance
  </code></pre>
  
  <p>I would like to handle this event inside the actual class definition.</p>