3 ms·That's not "coercion", though. That's Python obeying the LSP, because bool is a subclass of int.by ubernostrum 8y agoThat's not "coercion", though. That's Python obeying the LSP, because bool is a subclass of int.