The list.sort() docs require a function that returns -1, 0 or +1.  That's
never been true, and in particular implies cmp() can't be used(!).  Get
closer to the truth.
1 file changed