Re: [PATCH] using variable out of scope in diffutil.py ?



2009/2/15 Vincent Legoll <vincent legoll gmail com>:
> Here we should use the lambda variable instead of an outer scope
> variable, I think...

I think the correct fix here would be to absorb the lambda into the
one-and-only place that it's used (three lines below). Using a lambda
here at all seems to me to be a net readability loss.

Kai


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