[Python-checkins] Fix grammar in Doc/tutorial/controlflow.rst (GH-21885) (#21923)

Miss Islington (bot) webhook-mailer at python.org
Sat Aug 22 05:07:52 EDT 2020


https://github.com/python/cpython/commit/e94d5db5125059b253c2fa8abddb2228053be9e8
commit: e94d5db5125059b253c2fa8abddb2228053be9e8
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-08-22T05:07:43-04:00
summary:

Fix grammar in Doc/tutorial/controlflow.rst (GH-21885) (#21923)

Automerge-Triggered-By: @csabella
(cherry picked from commit 0be7c216e16f0d459f1c8f6209734c9b2b82fbd4)

Co-authored-by: Denis Ovsienko <denis at ovsienko.info>

files:
M Doc/tutorial/controlflow.rst

diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index de2c73a398eda..547f4aec47b68 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -658,7 +658,7 @@ Finally, consider this function definition which has a potential collision betwe
         return 'name' in kwds
 
 There is no possible call that will make it return ``True`` as the keyword ``'name'``
-will always to bind to the first parameter. For example::
+will always bind to the first parameter. For example::
 
     >>> foo(1, **{'name': 2})
     Traceback (most recent call last):



More information about the Python-checkins mailing list