Is it possible to execute an instance of a class? I don't mean instantiate a class, or execute a method. I mean something like a sibling to __string__ that would return a function. Let's call it __func__.
class ClassFunc (object):
def __func__ (self):
print "I'm a class!"
>>> myCF = ClassFunc()
>>> myCF()
I'm a class!