3 ms·
Yes. Python is not that mysterious. For generic objects, the __lt__ and __gt__ methods are simply defined the only way that's sensible, which is effectively as
by leot 15y ago
Yes. Python is not that mysterious.
For generic objects, the __lt__ and __gt__ methods are simply defined the only way that's sensible, which is effectively as a pointer location comparison.