Skip to content

Commit 3ed4d25

Browse files
authored
Grammar fix in tutorial (GH-18425)
1 parent c6dedde commit 3ed4d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ the list, thus saving space.
142142
We say such an object is :term:`iterable`, that is, suitable as a target for
143143
functions and constructs that expect something from which they can
144144
obtain successive items until the supply is exhausted. We have seen that
145-
the :keyword:`for` statement is such a construct, while an example of function
145+
the :keyword:`for` statement is such a construct, while an example of a function
146146
that takes an iterable is :func:`sum`::
147147

148148
>>> sum(range(4)) # 0 + 1 + 2 + 3

0 commit comments

Comments
 (0)