lambdak: multi-line lambda implementation in native Python

Steven D'Aprano steve+comp.lang.python at
Fri Jan 16 05:17:03 CET 2015

Yawar Amin wrote:

> To the responders in the 'beauty of the code' subthread: yes, I realise
> that lambdak is not Pythonic, and it will make angels cry, and all that.
> My view is you should actually be happy that it looks like this. If
> anyone ever asks about multi-line lambdas again, you can point to
> lambdak and say, 'See! This is what happens if you try to go against
> Pythonic style.' And then you can shrug your head in disgust if they
> continue to use it anyway.



More information about the Python-list mailing list