A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038821.html below:

[Python-Dev] decorate-sort-undecorate

[Python-Dev] decorate-sort-undecorate [Python-Dev] decorate-sort-undecorateTim Peters tim.one at comcast.net
Thu Oct 16 12:50:41 EDT 2003
[Michael Chermside]
> ...
> But both sides could probably be happy with:
>
>     aList.sort(chain=True).reverse()
>
> Right?

Probably not:  some people want list.sort() to return a (shallow) copy of
the list in sorted order, leaving the original list alone, sometimes.
Somtimes not.  It's all dead easy already, of course.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4