diff options
author | Saiyang Gou <gousaiyang@163.com> | 2021-04-06 22:15:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 22:15:37 (GMT) |
commit | 0fdf11e8e901a5f47149232557a7f9726b8177c9 (patch) | |
tree | 8dbe118a5d3a035cf21f4517771832a6a0c7f3bf /Misc | |
parent | 50616223d1043f0f83534ffec38709439b8a49ab (diff) | |
download | cpython-0fdf11e8e901a5f47149232557a7f9726b8177c9.zip cpython-0fdf11e8e901a5f47149232557a7f9726b8177c9.tar.gz cpython-0fdf11e8e901a5f47149232557a7f9726b8177c9.tar.bz2 |
bpo-43755: Update docs to reflect that lambda is not allowed in `comp_if` since 3.9 (GH-25231)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-04-06-14-55-45.bpo-43755.1m0fGq.rst | 3 |
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. |