[Python-checkins] bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)

miss-islington webhook-mailer at python.org
Wed Nov 18 18:49:37 EST 2020


https://github.com/python/cpython/commit/a85fefe71b3bf56b1b3e72e752e0f962c3b0b487
commit: a85fefe71b3bf56b1b3e72e752e0f962c3b0b487
branch: master
author: Lysandros Nikolaou <lisandrosnik at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020年11月18日T15:49:28-08:00
summary:
bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)
Automerge-Triggered-By: GH:lysnikolaou
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 0e5e841ff44d7..95594413440b8 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
 ===========


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /