]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Grammar fix in tutorial (GH-18425) (GH-18426)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Feb 2020 11:40:15 +0000 (03:40 -0800)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 11:40:15 +0000 (06:40 -0500)
(cherry picked from commit 3ed4d251587c36c3853daf42602eaad121b59bba)

Co-authored-by: Don Kirkby <donkirkby@users.noreply.github.com>
Doc/tutorial/controlflow.rst

index 7dfd33af258867c5f853f64acc4f58186e26852b..f05f5edd5ccc409cd210c0e0fa3c4c2c34b62a34 100644 (file)
@@ -142,7 +142,7 @@ the list, thus saving space.
 We say such an object is :term:`iterable`, that is, suitable as a target for
 functions and constructs that expect something from which they can
 obtain successive items until the supply is exhausted.  We have seen that
-the :keyword:`for` statement is such a construct, while an example of function
+the :keyword:`for` statement is such a construct, while an example of function
 that takes an iterable is :func:`sum`::
 
     >>> sum(range(4))  # 0 + 1 + 2 + 3