On Thu, 02 Dec 2010 09:58:18 +0000, Nobody wrote:
> If you want to test specifically for True, False or None, use "is"
> rather than an equality check. This eliminates the warning and doesn't
> risk misleading someone reading the code.

Thanks so much for this very specific answer. I guess "is" is what I am 
looking for. :-)

-- 
Harishankar (http://harishankar.org http://lawstudentscommunity.com)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to