]> granicus.if.org Git - python/commitdiff
Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Jul 2018 19:47:24 +0000 (12:47 -0700)
committerGitHub <noreply@github.com>
Mon, 30 Jul 2018 19:47:24 +0000 (12:47 -0700)
(cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/reference/compound_stmts.rst

index be6fc9708c864f45763453d0ba1e9a7642b81d83..1f753308e398a3cba26366b865663ecb4b9bdecf 100644 (file)
@@ -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)