bool behavior in Python 3000?

Bruno Desthuilliers bruno.42.desthuilliers at
Fri Jul 13 12:28:31 CEST 2007

Steven D'Aprano a écrit :
> It makes more sense to explicitly cast bools to ints 

s/cast bools to ints/build ints from bools/

AFAICT, there's no such thing as typecast in Python.

More information about the Python-list mailing list