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
--
http://mail.py
On Tue, 22 Mar 2005 16:32:47 -0800, Charles Hixson
<[EMAIL PROTECTED]> 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:
>
> This is an extract from some longer code:
> print"item = ", item
> print
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:
This is an extract from some longer code:
print"item = ", item
print"item[0] < lvl = %d < %d = " %(item[0], lvl), bool(item[0] < lvl)
print"item[0] == lv