Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6921ef7b
Commit
6921ef7b
authored
Jul 30, 2018
by
Andrés Delfino
Committed by
Mariatta
Jul 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 'for example' instead of 'in other words' in compound statement doc (GH-8401)
parent
8e7e8bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/reference/compound_stmts.rst
Doc/reference/compound_stmts.rst
+1
-1
No files found.
Doc/reference/compound_stmts.rst
View file @
6921ef7b
...
@@ -203,7 +203,7 @@ returns the list ``[0, 1, 2]``.
...
@@ -203,7 +203,7 @@ returns the list ``[0, 1, 2]``.
single: mutable sequence; loop over
single: mutable sequence; loop over
There is a subtlety when the sequence is being modified by the loop (this can
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
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
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)
terminates. This means that if the suite deletes the current (or a previous)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment