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 /Misc | |
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 '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. |