Re: [Python-Dev] more pyref: comparison precedence

2006-05-01 Thread Fredrik Lundh
Guido van Rossum wrote: > They're all the same priority. yet another description that is obvious only if you already know what it says, in other words: Operators in the same box have the same precedence. /.../ Operators in the same box group left to right (except for com- parisons, i

Re: [Python-Dev] more pyref: comparison precedence

2006-05-01 Thread Guido van Rossum
They're all the same priority. On 5/1/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > one last one for tonight; the operator precedence summary says that > "in" and "not in" has lower precedence than "is" and "is not", which > has lower precedence than "<, <=, >, >=, <>, !=, ==": > > http://doc

[Python-Dev] more pyref: comparison precedence

2006-05-01 Thread Fredrik Lundh
one last one for tonight; the operator precedence summary says that "in" and "not in" has lower precedence than "is" and "is not", which has lower precedence than "<, <=, >, >=, <>, !=, ==": http://docs.python.org/ref/summary.html but the comparisions chapter http://docs.python.org/ref/c