comparison puzzle? bug?

Mike Rovner mrovner at propel.com
Tue Mar 22 21:14:28 EST 2005


Charles Hixson wrote:
> I hesitate to call this a bug, as at my level of expertise that seems 
> ... unlikely.  But I can't think of any other explanation:

Call it 'typo' ;)

>  print    "item[0] > lvl = %d > %d = " %(item[0], lvl), bool(item[0] == 
> lvl)
use bool(item[0] > lvl)

HTH,
Mike




More information about the Python-list mailing list