Robert Kern wrote:

> They are, indeed, quite different things. Finding the truth value of an 
> object is not the same thing as testing if the object is equal to the 
> object True.

Yeah, I had this in the back of my mind, but I was thinking that this 
test would be written as

if s is True

And I know that one is very different from the others.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to