isinstance(False, int)

mk mrkafk at
Fri Mar 5 20:46:43 CET 2010

Rolando Espinoza La Fuente wrote:

> Doesn't have side effects not knowing  that False/True are ints?

It does, in fact I was wondering why my iterator didn't work until I 
figured issubclass(bool, int) is true.


More information about the Python-list mailing list