Why is the cmp parameter removed from sort/sorted in Python3.0?
Why is the cmp parameter removed from sort/sorted in Python3.0? Question: 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 …
Total answers: 2