Ezio Melotti added the comment:
The doc[0] says:
"""
x and y: if x is false, then x, else y
"""
Boolean operators in Python always return one of the two values (rather than
True/False), and they are also short-circuit operators, so:
* if x is false, the whole expression is false regardless of
New submission from Iain Henderson :
The documentation here: http://docs.python.org/library/stdtypes.html
indicates that and operates as such
{if x:
return x
else:
return y}
to be a logical conjugation it should function as
{if x:
if y:
return True
return False}
The it is no