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/2002-August/028144.html below:

[Python-Dev] Sort() returning sorted list

[Python-Dev] Sort() returning sorted listSean Reifschneider jafo@tummy.com
Wed, 21 Aug 2002 00:13:16 -0600
On Wed, Aug 21, 2002 at 01:26:17AM -0400, Guido van Rossum wrote:
>def sort(L):
>    L.sort()
>    return L

Yeah, that's not QUITE as bad as having to write my own string-handling
routines.  ;-/

So, there's really no place in Python itself for this?  Like,
list.sort_inplace() and list.sort_copy(), both of which return something
because it's obvious what they do?

Sean
-- 
 A ship in port is safe, but that is not what ships are for.
                 -- Rear Admiral Grace Murray Hopper
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



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