Browse Source

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.
pull/5047/merge
Steven M. Vascellaro 8 years ago
committed by Mariatta
parent
commit
83d7062d2d
  1. 2
      Doc/tutorial/controlflow.rst

2
Doc/tutorial/controlflow.rst

@ -105,7 +105,7 @@ is possible to let the range start at another number, or to specify a different
increment (even negative; sometimes this is called the 'step')::
range(5, 10)
5 through 9
5, 6, 7, 8, 9
range(0, 10, 3)
0, 3, 6, 9

Loading…
Cancel
Save