Thanks; I didn't read close enough. :)

--
Alan McIntyre
ESRG LLC
http://www.esrgtech.com

Michael Hoffman wrote:
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.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to