lambdak: multi-line lambda implementation in native Python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Jan 15 23:17:03 EST 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.


:-)


-- 
Steven




More information about the Python-list mailing list