News for hackers. Stuff that matters.
Re:Pythonic monotonic by contravariant on Friday August 13, 2021 @09:03AM (#28168344)
If they use math.inf then yeah probably.

You might be able to create an object that always compares as less than something, using something like:

    class Bottom:
        def __le__(self, other):
            return True

        def __lt__(self, other):
            return True
though use this with care.

There are no comments on this comment yet.