[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: isinstance(False, int

mk

3/5/2010 7:47:00 PM

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