On Thu, Oct 6, 2011 at 6:13 PM, Frederick Grose <fgr...@gmail.com> 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 Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel