Grammar fix in tutorial (GH-18425)

This commit is contained in:
Don Kirkby 2020-02-09 16:57:46 -08:00 committed by GitHub
parent c6dedde160
commit 3ed4d25158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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 a function
that takes an iterable is :func:`sum`::
>>> sum(range(4)) # 0 + 1 + 2 + 3