summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Kirkby <donkirkby@users.noreply.github.com>2020-02-10 00:57:46 (GMT)
committerGitHub <noreply@github.com>2020-02-10 00:57:46 (GMT)
commit3ed4d251587c36c3853daf42602eaad121b59bba (patch)
tree7636a7dc75d267fd4280ddb827a5f0be8d15d03b
parentc6dedde160a9fce5d049e860f586ad8f93aec822 (diff)
downloadcpython-3ed4d251587c36c3853daf42602eaad121b59bba.zip
cpython-3ed4d251587c36c3853daf42602eaad121b59bba.tar.gz
cpython-3ed4d251587c36c3853daf42602eaad121b59bba.tar.bz2
Grammar fix in tutorial (GH-18425)
-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 7dfd33a..f05f5ed 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