summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven M. Vascellaro <S.Vascellaro@gmail.com>2018-03-09 19:57:21 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2018-03-09 19:57:21 (GMT)
commit83d7062d2dc5eacfef578e072bca4747c346fdae (patch)
treed83a538c96f1e7103096583c7b55106951818dcb
parent3b20d3454e8082e07dba93617793de5dc9237828 (diff)
downloadcpython-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.rst2
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