8 ms·
The value of the lambda is the generator object. How else could you call list() on it if it was thrown away?
by martin_k 15y ago
The value of the lambda is the generator object. How else could you call list() on it if it was thrown away?
- cool-RR 15y agoYou're just using the word "value" in a different way. I meant "value" as in the 7.
- martin_k 15y agoYou're right. I am still referring to that particular part of your blog post: >> So that’s the only case I can think of where Python >> completely throws away the value of a lambda function.