Alan McIntyre wrote:
>>>class test(object):
...    def __call1(self):
...        print 1
...    __call__ = __call1
Is that what you were looking for?

That still only allows him to have one call function per class. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to