cmp

Why is the cmp parameter removed from sort/sorted in Python3.0?

from python wiki : In Py3.0, the cmp parameter was removed entirely (as part of a larger effort to simplify and unify the language, eliminating the conflict between rich comparisons and the __cmp__ methods). I do not understand the reasoning why cmp is removed in py3.0 consider this example: >>> def...