4 ms·
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 _litera
by tech2 4y ago
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.