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