summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-10 03:40:15 -0800
committerGitHub <noreply@github.com>2020-02-10 06:40:15 -0500
commitb086ea5edc44cf64ecfb645d578927aa96e8c355 (patch)
tree6b1067a4a29b8c538c03bdd53cf660eb93d01130
parentaf95d790a86fc46739badfa9edbaeb264ee96600 (diff)
downloadcpython-git-b086ea5edc44cf64ecfb645d578927aa96e8c355.tar.gz
Grammar fix in tutorial (GH-18425) (GH-18426)
(cherry picked from commit 3ed4d251587c36c3853daf42602eaad121b59bba) Co-authored-by: Don Kirkby <donkirkby@users.noreply.github.com>
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 7dfd33af25..f05f5edd5c 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -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 a function
that takes an iterable is :func:`sum`::
>>> sum(range(4)) # 0 + 1 + 2 + 3