diff options
author | Steven M. Vascellaro <S.Vascellaro@gmail.com> | 2018-03-09 19:57:21 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-03-09 19:57:21 (GMT) |
commit | 83d7062d2dc5eacfef578e072bca4747c346fdae (patch) | |
tree | d83a538c96f1e7103096583c7b55106951818dcb | |
parent | 3b20d3454e8082e07dba93617793de5dc9237828 (diff) | |
download | cpython-83d7062d2dc5eacfef578e072bca4747c346fdae.zip cpython-83d7062d2dc5eacfef578e072bca4747c346fdae.tar.gz cpython-83d7062d2dc5eacfef578e072bca4747c346fdae.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.
-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 |