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/039695.html below:

copysort patch, was RE: [Python-Dev] inline sort option

copysort patch, was RE: [Python-Dev] inline sort option copysort patch, was RE: [Python-Dev] inline sort optionPhillip J. Eby pje at telecommunity.com
Tue Oct 28 09:01:29 EST 2003
At 05:29 AM 10/28/03 -0500, Raymond Hettinger wrote:
>   inlinesort()   # immediately clear how it is different from sort()
>   sortedcopy()   # clear that it makes a copy and does a sort
>   newsorted()    # appropriate for a class method constructor

+1 on sortedcopy(), especially if it's usable as a method, e.g. 
myList.sortedcopy().  (Note that that doesn't exclude it also being spelled 
as 'list.sortedcopy(myList)'.)


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