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


Groups > comp.lang.python > #2201

Re: Guido rethinking removal of cmp from sort method

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Guido rethinking removal of cmp from sort method
References (13 earlier) <AANLkTiktvGrpJM6AYP7yEYXj8heqz61ey3FuLSJG7wQH@mail.gmail.com> <AANLkTinfLaedDYKd9KeSihh5wz09fuwXN0jSV-jHQeAG@mail.gmail.com> <AANLkTinXCMTduz96su=avK4NN3PQLhgbzLi5jWA69W0g@mail.gmail.com> <4D92660B.2060307@mrabarnett.plus.com> <mailman.2.1301441811.2990.python-list@python.org>
Date 2011-03-29 17:23 -0700
Message-ID <7xwrjh5ue0.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


Ian Kelly <ian.g.kelly@gmail.com> writes:
> cmp_to_key(lambda x, y: -cmp(x, y))

cmp_to_key(lambda x, y: cmp(y, x))

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


Thread

Re: Guido rethinking removal of cmp from sort method Ian Kelly <ian.g.kelly@gmail.com> - 2011-03-29 17:36 -0600
  Re: Guido rethinking removal of cmp from sort method Paul Rubin <no.email@nospam.invalid> - 2011-03-29 17:23 -0700

csiph-web