Y
Hacker News
new
|
ask
|
show
|
jobs
by
Cyphase
3062 days ago
That's True, but you _can_ override __bool__.[1]
[1]
https://docs.python.org/3/reference/datamodel.html#object.__...