On 17 Apr 2009 07:03:18 -0700 [email protected] (Aahz) wrote: > Go to all that trouble, you might as well make it easier: > > for func in funclist: > func()
And if you need the return values:
retlist = [func() for func in funclist]
--
D'Arcy J.M. Cain <[email protected]> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
--
http://mail.python.org/mailman/listinfo/python-list
