Re: [PATCH] Remove useless temporary variable



On Mon, Mar 16, 2009 at 6:52 PM, Kai Willadsen <kai willadsen gmail com> wrote:
> 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.

OK, dropped

-- 
Vincent Legoll


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