On 1 March 2017 at 01:31, qhlonline <qhlonl...@163.com> wrote:
> My code example is not proper,  Yes,  may be this is better:
> list.sort().revers(

We can already do this - reversed(sorted(lst))

This is a long-established design decision in Python. It would need a
*very* compelling use case to even think about changing it.
Paul
_______________________________________________
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