Multiple equates

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Nov 25 00:51:10 EST 2008


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?

:)



More information about the Python-list mailing list