| making the implied return statment visible might also be a good idea,
| e.g. 
| 
|    lambda x, y: return x + y
| 
| or even
| 
|    def (x, y): return x + y
| 

Although I don't understand the implications of making such a change, the 2nd 
alternative above looks very nice. Whenever I write a lambda I feel like I am 
doing something non-pythonic. I think the 2nd proposal increases the 
readability of the lambda, something that is often touted as being part of what 
makes python beautiful.

/c




_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to