summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-07 18:17:56 (GMT)
committerGitHub <noreply@github.com>2021-04-07 18:17:56 (GMT)
commitf91fc7a679e076cb9a703f6db4d95b63935562e3 (patch)
tree0089e7126b8fc7a41642d2310b5cc026873c4f01 /Misc
parent34f93002bac980176a670ce2a4038c3be84effed (diff)
downloadcpython-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 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-04-06-14-55-45.bpo-43755.1m0fGq.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-04-06-14-55-45.bpo-43755.1m0fGq.rst b/Misc/NEWS.d/next/Documentation/2021-04-06-14-55-45.bpo-43755.1m0fGq.rst
new file mode 100644
index 0000000..53cba0b
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-04-06-14-55-45.bpo-43755.1m0fGq.rst
@@ -0,0 +1,3 @@
+Update documentation to reflect that unparenthesized lambda expressions can
+no longer be the expression part in an ``if`` clause in comprehensions and
+generator expressions since Python 3.9.