If we were going to add a syntax for abbreviating lambdas, I would
rather see something more generally useful, e.g.

   x -> x.method()

as an abbrevation for

   lambda x: x.method()

--
Greg

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to