Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on On incomplete HTTP reads and the requests library in Python. Parent comment
No, it acts like an int; whether it is one (should be) irrelevant :)
class StatusCode(int): @property def ok(self): return 200 <= self < 300
There are no comments on this comment yet.
No, it acts like an int; whether it is one (should be) irrelevant :)