Dennis Lee Bieber wrote:

>> x = [f(), g()] [cond]
>>
>>the latter evaluates both f() and g() instead of just one. Apart from
>>being inefficient, it can have unintended side-effects.
> 
> Ah, but what would
> 
> x = [f, g][cond]()
> 
> produce?


headache

-- 
By ZeD

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to