Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Pythonic monotonic. Parent comment
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
There are no comments on this comment yet.
You might be able to create an object that always compares as less than something, using something like:
though use this with care.