[Python-Dev] more pyref: comparison precedence

Guido van Rossum guido at python.org
Mon May 1 23:43:43 CEST 2006


They're all the same priority.

On 5/1/06, Fredrik Lundh <fredrik at pythonware.com> 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://docs.python.org/ref/summary.html
>
> but the comparisions chapter
>
>     http://docs.python.org/ref/comparisons.html
>
> says that they all have the same priority.  which one is right ?
>
> </F>
>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>


--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list