Skip to content

Commit a85fefe

Browse files
authored
bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)
Automerge-Triggered-By: GH:lysnikolaou
1 parent 6f4635f commit a85fefe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ Other Language Changes
154154
:meth:`~object.__index__` method).
155155
(Contributed by Serhiy Storchaka in :issue:`37999`.)
156156

157+
* Assignment expressions can now be used unparenthesized within set literals
158+
and set comprehensions, as well as in sequence indexes (but not slices).
159+
157160

158161
New Modules
159162
===========

0 commit comments

Comments
 (0)