mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)
This commit is contained in:
parent
8e7e8bd898
commit
6921ef7bef
@ -203,7 +203,7 @@ returns the list ``[0, 1, 2]``.
|
||||
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
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user