On 17/10/2016 21:31, Paul Moore wrote:
On 17 October 2016 at 21:06, Sven R. Kunze <srku...@mail.de> wrote:
Do you think that simple solution could have a chance to be added to stdlib
somehow (with the possibility of speeding it up in the future)?


You could submit a doc patch to add an explanation of this technique
to the list.sort function. I doubt it's worth a builtin for a 2-line
function.

Paul

How about changing https://wiki.python.org/moin/HowTo/Sorting ?

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

_______________________________________________
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