From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 22 May 2020 15:26:54 +0000 (-0700) Subject: bpo-40730: Remove redundant 'to' (GH-20316) (GH-20318) X-Git-Tag: v3.9.0b2~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=983b17ca1319adf9f06d5f2779a44450241eba54;p=thirdparty%2FPython%2Fcpython.git bpo-40730: Remove redundant 'to' (GH-20316) (GH-20318) @ericvsmith I guess it is correct to merge it into master and not 3.9 directly? Automerge-Triggered-By: @ericvsmith (cherry picked from commit 30d5a7364db9e65ccabbdce2c20b84fe2fb233fb) Co-authored-by: Florian Dahlitz Co-authored-by: Florian Dahlitz --- diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 5fd051255da1..ebb24ebb026f 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -605,7 +605,7 @@ Optimizations sums = [s for s in [0] for x in data for s in [s + x]] - Unlike to the ``:=`` operator this idiom does not leak a variable to the + Unlike the ``:=`` operator this idiom does not leak a variable to the outer scope. (Contributed by Serhiy Storchaka in :issue:`32856`.)