operator precedence

Fredrik Lundh fredrik at effbot.org
Thu Dec 7 18:47:01 CET 2000

b_wiedermann at my-deja.com wrote:
> I am looking for a list of operator precedence that has been updated to
> include information for Python 2.0. Also, I am looking for association
> information. Should we assume that associativity is always from left to
> right, except for comparison operators?

as far as I can tell,


is up to date.

> What about assignment operators; they do not appear in the language
> reference at

there are no assignment operators in Python.  assignment is a

what looks like C's assignment operators are known as "augmented
assignment statements", and are documented here:



More information about the Python-list mailing list