On 17 Apr 2009 07:03:18 -0700, Aahz <a...@pythoncraft.com> wrote:
> In article <m263h3vadt....@cs.uu.nl>, Piet van Oostrum wrote:
>>
>>funclist = [func01, func02, func03, ... ]
>>for i in range(1,n):
>>    funclist[i]()
>
> Go to all that trouble, you might as well make it easier:
>
> for func in funclist:
>     func()

Yes.  Especially because func01 gets called, this way.

-- 
To email me, substitute nowhere->spamcop, invalid->net.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to