Message144823
Maybe with a different name is less confusing: lambda return_value=each: return_value
This copies the value of 'each' in a variable called 'return_value' that is local to the lambda. Since the copy happens when the lambdas are defined, 'return_value' has then the right value. |
|
Date |
User |
Action |
Args |
2011-10-03 15:22:44 | ezio.melotti | set | recipients:
+ ezio.melotti, r.david.murray, docs@python, Tomáš.Dvořák |
2011-10-03 15:22:44 | ezio.melotti | set | messageid: <1317655364.34.0.784602471719.issue13094@psf.upfronthosting.co.za> |
2011-10-03 15:22:43 | ezio.melotti | link | issue13094 messages |
2011-10-03 15:22:43 | ezio.melotti | create | |
|