Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
tech2
· 4y ago · 0 comments
That's history coming back to bite it though. There was a period where the symbols True and False existed in Python but the bool class did not. True was _literally_ 1, and False was 0. Because of this, for backward compat, bool is a subclass of int.
Comments
No comments yet.
Better HN