[Python-checkins] bpo-40730: Remove redundant 'to' (GH-20316)

Florian Dahlitz webhook-mailer at python.org
Fri May 22 11:19:23 EDT 2020


https://github.com/python/cpython/commit/30d5a7364db9e65ccabbdce2c20b84fe2fb233fb
commit: 30d5a7364db9e65ccabbdce2c20b84fe2fb233fb
branch: master
author: Florian Dahlitz <f2dahlitz at freenet.de>
committer: GitHub <noreply at github.com>
date: 2020-05-22T08:19:18-07:00
summary:

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

files:
M Doc/whatsnew/3.9.rst

diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 5fd051255da17..ebb24ebb026fc 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`.)



More information about the Python-checkins mailing list