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.
(cherry picked from commit 83d7062d2d
)
Co-authored-by: Steven M. Vascellaro <S.Vascellaro@gmail.com>
This commit is contained in:
parent
12f74d8608
commit
3f7d0b69f2
|
@ -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…
Reference in New Issue