diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-07-30 19:30:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 19:30:31 (GMT) |
commit | 399b47fdf6346d15579d363ddfd0661eb906699e (patch) | |
tree | c67a6a46218c6d18fd584f95d746e50ddadd3584 /Doc/reference | |
parent | a0605182042c64762a4b8c9f3eccc3f0e300ae8c (diff) | |
download | cpython-399b47fdf6346d15579d363ddfd0661eb906699e.zip cpython-399b47fdf6346d15579d363ddfd0661eb906699e.tar.gz cpython-399b47fdf6346d15579d363ddfd0661eb906699e.tar.bz2 |
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/reference')
-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 377937e..aeb4ada 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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) |