From: Florian Dahlitz Date: Fri, 22 May 2020 15:19:18 +0000 (+0200) Subject: bpo-40730: Remove redundant 'to' (GH-20316) X-Git-Tag: v3.10.0a1~857 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30d5a7364db9e65ccabbdce2c20b84fe2fb233fb;p=thirdparty%2FPython%2Fcpython.git bpo-40730: Remove redundant 'to' (GH-20316) @ericvsmith I guess it is correct to merge it into master and not 3.9 directly? Automerge-Triggered-By: @ericvsmith --- 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`.)