[Python-checkins] Grammar fix in tutorial (GH-18425)

Don Kirkby webhook-mailer at python.org
Sun Feb 9 19:57:51 EST 2020


https://github.com/python/cpython/commit/3ed4d251587c36c3853daf42602eaad121b59bba
commit: 3ed4d251587c36c3853daf42602eaad121b59bba
branch: master
author: Don Kirkby <donkirkby at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-09T19:57:46-05:00
summary:

Grammar fix in tutorial (GH-18425)

files:
M Doc/tutorial/controlflow.rst

diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 7dfd33af25886..f05f5edd5ccc4 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



More information about the Python-checkins mailing list