From: Lysandros Nikolaou Date: Wed, 18 Nov 2020 23:49:28 +0000 (+0200) Subject: bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382) X-Git-Tag: v3.10.0a3~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a85fefe71b3bf56b1b3e72e752e0f962c3b0b487;p=thirdparty%2FPython%2Fcpython.git bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382) Automerge-Triggered-By: GH:lysnikolaou --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 0e5e841ff44d..95594413440b 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 ===========