3 ms·
I'm bookmarking this, this is an awesome reference. Since this article was written, __cmp__ is has now been deprecated. The article already mentions total_orde
by CraigJPerry 13y ago
I'm bookmarking this, this is an awesome reference.
Since this article was written, __cmp__ is has now been deprecated. The article already mentions total_ordering and you can use that instead.