diff options
author | Andrés Delfino <adelfino@gmail.com> | 2018-07-30 18:44:35 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-07-30 18:44:35 (GMT) |
commit | 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613 (patch) | |
tree | 4637bf5e9e3701d70932b2098f007cb7bbdca6af /Doc/reference | |
parent | 8e7e8bd8984068e3245d64b9a21e6840880747af (diff) | |
download | cpython-6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613.zip cpython-6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613.tar.gz cpython-6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613.tar.bz2 |
Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)
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 208b3ed..ebb18ca 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) |