diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-07 18:17:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 18:17:56 (GMT) |
commit | f91fc7a679e076cb9a703f6db4d95b63935562e3 (patch) | |
tree | 0089e7126b8fc7a41642d2310b5cc026873c4f01 /Doc/whatsnew | |
parent | 34f93002bac980176a670ce2a4038c3be84effed (diff) | |
download | cpython-f91fc7a679e076cb9a703f6db4d95b63935562e3.zip cpython-f91fc7a679e076cb9a703f6db4d95b63935562e3.tar.gz cpython-f91fc7a679e076cb9a703f6db4d95b63935562e3.tar.bz2 |
bpo-43755: Update docs to reflect that lambda is not allowed in `comp_if` since 3.9 (GH-25231) (GH-25233)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 4cb4940..d5eacca 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 =========== |