On Thu, Oct 6, 2011 at 6:13 PM, Frederick Grose <[email protected]> wrote:
> But try this:
> foo = 0
> if foo:
>     print 'foo is not None'

Yes, I'm aware that the boolean operator also has meaning for
numerical values. But that doesn't affect my patch and the context of
this code. Or am I missing something?

Thanks,
Daniel
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to