summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 3086930..24c72ee 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -267,6 +267,10 @@ Other Language Changes
:func:`~operator.countOf` of the :mod:`operator` module.
(Contributed by Serhiy Storchaka in :issue:`40824`.)
+* Unparenthesized lambda expressions can no longer be the expression part in an
+ ``if`` clause in comprehensions and generator expressions. See :issue:`41848`
+ and :issue:`43755` for details.
+
New Modules
===========