diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-03-09 20:11:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 20:11:30 (GMT) |
commit | 3f7d0b69f2175ff74157673148b2e45b7a2498b6 (patch) | |
tree | 593c80465d59797fea45aef1576d2b2747548f82 /Doc/tutorial | |
parent | 12f74d8608c15cacd9d5786524e2be9ca36f007e (diff) | |
download | cpython-3f7d0b69f2175ff74157673148b2e45b7a2498b6.zip cpython-3f7d0b69f2175ff74157673148b2e45b7a2498b6.tar.gz cpython-3f7d0b69f2175ff74157673148b2e45b7a2498b6.tar.bz2 |
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 83d7062d2dc5eacfef578e072bca4747c346fdae)
Co-authored-by: Steven M. Vascellaro <S.Vascellaro@gmail.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 36b0939..30ef159 100644 --- a/Doc/tutorial/controlflow.rst +++ b/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 |