Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97004

Re: sort help

References <CACwCsY71moXc+72Y5CT6B2+_8d8cPNFyq7zG49STYWcZ5gfkEA@mail.gmail.com> <CAPTjJmrGj-aPYj7pS6zFcobRVj-OpM6oHq9q2OgC-RF+gG1b-A@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2015-09-22 17:02 -0600
Subject Re: sort help
Newsgroups comp.lang.python
Message-ID <mailman.76.1442963023.28679.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Sep 22, 2015 at 4:55 PM, Chris Angelico <rosuav@gmail.com> wrote:
> The Python list.sort() method is guaranteed to be
> stable. I can't find a comparable guarantee for sorted()

https://docs.python.org/3.5/library/functions.html#sorted

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: sort help Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-22 17:02 -0600

csiph-web