]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111944: Add assignment expression parentheses requirements (#111977)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 13 Nov 2023 00:06:50 +0000 (19:06 -0500)
committerGitHub <noreply@github.com>
Mon, 13 Nov 2023 00:06:50 +0000 (19:06 -0500)
commit9a2f25d374f027f6509484d66e1c7bba03977b99
treeac7f695de18de8249379e8630bbba261b3ea2507
parentd7cef7bc7ea5478abb90a37c8ffb0792cc6e7518
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.
Doc/reference/expressions.rst