Skip to content

Commit 83d7062

Browse files
StevoisiakMariatta
authored andcommitted
controlflow: Use full example for "5 through 9" (GH-5907)
Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples.
1 parent 3b20d34 commit 83d7062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ is possible to let the range start at another number, or to specify a different
105105
increment (even negative; sometimes this is called the 'step')::
106106

107107
range(5, 10)
108-
5 through 9
108+
5, 6, 7, 8, 9
109109

110110
range(0, 10, 3)
111111
0, 3, 6, 9

0 commit comments

Comments
 (0)