isinstance(False, int)

mk mrkafk at gmail.com
Fri Mar 5 14:46:43 EST 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.

Regards,
mk




More information about the Python-list mailing list