On Fri, 01 Apr 2005 22:01:25 +0000, F. Petitjean wrote: > Le Fri, 1 Apr 2005 13:39:47 -0500, Terry Reedy a Ãcrit : >> This is equivalent to '(that is it) and (it is not it)' which is clearly >> false. >> >>> False # What ? >> >> Reread the ref manual on chained comparison operators. > > And see the date of the post :-) > that is it isn't it ?
Nope, nothing to do with it. Read the ref manual on chained comparision operators. http://www.python.org/doc/2.4/ref/comparisons.html#l2h-430 For proof, run the given code in the original post. It's not faked in the slightest, and the manual holds the key to understanding. -- http://mail.python.org/mailman/listinfo/python-list