Re: [PATCH] Remove useless temporary variable



2009/3/12 Vincent Legoll <vincent legoll gmail com>:
> Pass directly the callable returned by lambda to setattr()

I prefer the current code, as it makes the intent clearer. Maybe it's
just me, but I think that:
    lamba *args: None
isn't entirely straightforward as far as intention goes.

Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]