Re: [PATCH] Remove useless temporary variable
- From: Vincent Legoll <vincent legoll gmail com>
- To: Kai Willadsen <kai willadsen gmail com>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: [PATCH] Remove useless temporary variable
- Date: Mon, 16 Mar 2009 20:13:32 +0100
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]