On 12/04/2017 10:01 AM, brent bejot wrote:

I think we can all agree that defining
__key__ and calling "sorted(list_of_attrdicts)" has that syntactic sugar that is oh-so-sweet-and-tasty.

Just remember that too much syntactic sugar can give
you cancer of the semicolon.

--
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