summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-11-18 23:49:28 (GMT)
committerGitHub <noreply@github.com>2020-11-18 23:49:28 (GMT)
commita85fefe71b3bf56b1b3e72e752e0f962c3b0b487 (patch)
tree27052e92d578357db58c9929621edf94c857b19c
parent6f4635fe20457a7c513050bb117c2f0511cd4e44 (diff)
downloadcpython-a85fefe71b3bf56b1b3e72e752e0f962c3b0b487.zip
cpython-a85fefe71b3bf56b1b3e72e752e0f962c3b0b487.tar.gz
cpython-a85fefe71b3bf56b1b3e72e752e0f962c3b0b487.tar.bz2
bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)
Automerge-Triggered-By: GH:lysnikolaou
-rw-r--r--Doc/whatsnew/3.10.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 0e5e841..9559441 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -154,6 +154,9 @@ Other Language Changes
:meth:`~object.__index__` method).
(Contributed by Serhiy Storchaka in :issue:`37999`.)
+* Assignment expressions can now be used unparenthesized within set literals
+ and set comprehensions, as well as in sequence indexes (but not slices).
+
New Modules
===========