]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40730: Remove redundant 'to' (GH-20316)
authorFlorian Dahlitz <f2dahlitz@freenet.de>
Fri, 22 May 2020 15:19:18 +0000 (17:19 +0200)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 15:19:18 +0000 (08:19 -0700)
@ericvsmith I guess it is correct to merge it into master and not 3.9 directly?

Automerge-Triggered-By: @ericvsmith
Doc/whatsnew/3.9.rst

index 5fd051255da17e6ed40fda88b3a74a5e6ffd1659..ebb24ebb026fc003382ffd1dde03dbc9c80f3018 100644 (file)
@@ -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`.)