⬅︎ Back to bool is instance of int in Python
Interesting, looks like bool is a subtype of int.>>> bool.mro()[<type 'bool'>, <type 'int'>, <type 'object'>]
Comment
Interesting, looks like bool is a subtype of int.
>>> bool.mro()
[<type 'bool'>, <type 'int'>, <type 'object'>]