Commit 5e980f09 authored by Andrés Delfino's avatar Andrés Delfino Committed by Mariatta

[2.7] Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)

(cherry picked from commit 6921ef7b)
Co-authored-by: default avatarAndrés Delfino <adelfino@gmail.com>
parent 2bea7716
...@@ -185,7 +185,7 @@ effect of Pascal's ``for i := a to b do``; e.g., ``range(3)`` returns the list ...@@ -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 single: mutable sequence; loop over
There is a subtlety when the sequence is being modified by the loop (this can 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 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 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) terminates. This means that if the suite deletes the current (or a previous)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment