On Tue, Apr 26, 2011 at 12:29 AM, Thomas Rachel
<nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa...@spamschutz.glglgl.de>
wrote:
> for function in actions:
>     results.append(function())

Can this become:

results = [function() for function in actions]

Chris Angelico
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to