From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 30 Jul 2018 19:47:24 +0000 (-0700) Subject: Use 'for example' instead of 'in other words' in compound statement doc (GH-8401) X-Git-Tag: v3.6.7rc1~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7bd4bb4e38e8f8fc95413366272c7b03c03622e;p=python 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 --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index be6fc9708c..1f753308e3 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)