mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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.
This commit is contained in:
parent
3b20d3454e
commit
83d7062d2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue