[Python-Dev] more pyref: comparison precedence

Fredrik Lundh fredrik at pythonware.com
Tue May 2 00:01:52 CEST 2006


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, including tests, which all have the same precedence
    and chain from left to right /.../

I think I'll do something about this one too ;-)

</F>





More information about the Python-Dev mailing list