On Mon, Apr 4, 2016, at 02:56, Peter Otten wrote:
> > That works well.  Why is it 'cheating'?
> 
> On second thought it isn't ;)

It does require a numeric type, though. There are lots of types that are
orderable but do not have a negation operator that provides a key with
reversed ordering.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to