W1640 using-cmp-argumentΒΆ
- Message
'Using the cmp argument for list.sort / sorted'
- Description
Using the cmp argument for list.sort or the sorted builtin should be avoided, since it was removed in Python 3. Using either key or functools.cmp_to_key should be preferred.