Weird expression result

Fredrik Lundh fredrik at pythonware.com
Mon Aug 18 13:33:53 EDT 2008


cokofreedom at gmail.com wrote:

>>>>> 3 in [3] == True
> 
> http://docs.python.org/ref[3/summary.html

that page is broken, as recently mentioned; "in", "not in", "is", and 
"is not" are comparison operators too, chains in the same way as the 
others.  for details, see:

     http://docs.python.org/ref/comparisons.html#comparisons

</F>




More information about the Python-list mailing list