[Python-ideas] PEP 572: about the operator precedence of :=

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 10 19:43:17 EDT 2018


Tim Peters wrote:
> Umm ... that's the opposite of what the Reference Manual says "lower":means:
> 
> """
> 6.16. Operator precedence
> 
> The following table summarizes the operator precedence in Python, from
> lowest precedence (least binding) to highest precedence (most
> binding).
> """

Which is also in accord with the usual English meaning of the word
"precedence" -- things with higher precedence get done first.

-- 
Greg


More information about the Python-ideas mailing list