[Python-checkins] Doc: remove duplicate word in controlflow tutorial (GH-16163)

Julien Palard webhook-mailer at python.org
Mon Sep 16 03:05:04 EDT 2019


https://github.com/python/cpython/commit/b7af4e75657e6478920d00260c48a1a3020002fc
commit: b7af4e75657e6478920d00260c48a1a3020002fc
branch: master
author: Adorilson Bezerra <adorilson at gmail.com>
committer: Julien Palard <julien at palard.fr>
date: 2019-09-16T09:04:58+02:00
summary:

Doc: remove duplicate word in controlflow tutorial (GH-16163)

files:
M Doc/tutorial/controlflow.rst

diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index b7e003c55018..3730a215d748 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -695,7 +695,7 @@ As guidance:
 * Use keyword-only when names have meaning and the function definition is
   more understandable by being explicit with names or you want to prevent
   users relying on the position of the argument being passed.
-* For an API, use positional-only to prevent prevent breaking API changes
+* For an API, use positional-only to prevent breaking API changes
   if the parameter's name is modified in the future.
 
 .. _tut-arbitraryargs:



More information about the Python-checkins mailing list