Multiple equates

Cameron Laird claird at lairds.us
Wed Nov 26 13:30:43 CET 2008


In article <ggg3oe$vfe$2 at lust.ihug.co.nz>,
Lawrence D'Oliveiro  <ldo at geek-central.gen.new_zealand> wrote:
>Cameron Laird wrote:
>
>> I've been trying to decide if there's any sober reason to advocate
>> the one-liner
>> 
>>     map(lambda i: a.__setitem__(i, False), [x1, x2, x3, ..., x1024])
>
>Are lambdas like the Dark Side of Python?
>
>:)

Enough so, apparently, that I'm reluctant even to touch that question.



More information about the Python-list mailing list