Comparison of functions

Erik Max Francis max at
Sat Jul 30 21:40:22 CEST 2005

Steven D'Aprano wrote:

> Um, I didn't ask to compare complex numbers using comparison operators. I
> asked to sort a list. And please don't tell me that that sorting is
> implemented with comparison operators. That just means that the
> implementation is confusing numeric ordering with sort order.

Python doesn't have a distinction between these two, so yes, you're 
sorting with comparison operators.

Erik Max Francis && max at &&
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   I am not a Virginian, but an American.
   -- Patrick Henry

More information about the Python-list mailing list