SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-111944: Add assignment expression parentheses requirements (#111977)

gh-111944: Clarify where assignment expressions require ()s

Augment the list of places where parentheses are
required around assignnment statements.  In particular,
'a := 0' and 'a = b := 1' are syntax errors.
T
Terry Jan Reedy committed
9a2f25d374f027f6509484d66e1c7bba03977b99
Parent: d7cef7b
Committed by GitHub <noreply@github.com> on 11/13/2023, 12:06:50 AM