On Tue, 29 Oct 2019 08:31:22 +0800
Changbin Du <changbin...@gmail.com> wrote:

> Here python is different from C. Both empty string and None are False in 
> python.
> Note such condition is common in python.

Treating both as a False value is reasonably common.  Treating them
elsewhere in the same code block as separate values is less
so; that's the part I would prefer to avoid.

Thanks,

jon
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to