diff options
author | Andrés Delfino <adelfino@gmail.com> | 2018-07-30 16:16:35 -0300 |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-07-30 12:16:35 -0700 |
commit | 5e980f09b624b98bc1202cdabaaa0809c8b6437e (patch) | |
tree | d652557d706cd892fe22ec4be5c442ca01feba55 /Doc | |
parent | 2bea7716093012319b5e6a4260fe802b15031f21 (diff) | |
download | cpython-git-5e980f09b624b98bc1202cdabaaa0809c8b6437e.tar.gz |
[2.7] Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)
(cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 66ae5300b0..92ce3cdeed 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -185,7 +185,7 @@ effect of Pascal's ``for i := a to b do``; e.g., ``range(3)`` returns the list single: mutable sequence; loop over There is a subtlety when the sequence is being modified by the loop (this can - only occur for mutable sequences, i.e. lists). An internal counter is used to + only occur for mutable sequences, e.g. lists). An internal counter is used to keep track of which item is used next, and this is incremented on each iteration. When this counter has reached the length of the sequence the loop terminates. This means that if the suite deletes the current (or a previous) |