News for hackers. Stuff that matters.
Re:Many programming languages have infix expressions, but ge... by jedi_stannis on Sunday January 31, 2010 @07:01PM (#1091383)
Yes it is really pulling a syntactic trick and not comparing against bools. From the docs:

Comparisons can be chained arbitrarily, e.g., x < y <= z is equivalent to x < y and y <= z, except that y is evaluated only once.

http://docs.python.org/reference/expressions.html#notin

There are no comments on this comment yet.