summaryrefslogtreecommitdiffstats
path: root/Doc/ref.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-06-03 17:58:43 (GMT)
committerGuido van Rossum <guido@python.org>1992-06-03 17:58:43 (GMT)
commit54e39908d848f4e3d1d09685798329ea73013262 (patch)
treef3654f683971de20793a2a0b9c3be22c401ae21b /Doc/ref.tex
parentc7ff85d612b89f58ff8e0b1451a090e051d7ac5b (diff)
downloadcpython-54e39908d848f4e3d1d09685798329ea73013262.zip
cpython-54e39908d848f4e3d1d09685798329ea73013262.tar.gz
cpython-54e39908d848f4e3d1d09685798329ea73013262.tar.bz2
Fixed comparison: i < k < j should be i <= k < j.
Diffstat (limited to 'Doc/ref.tex')
-rw-r--r--Doc/ref.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref.tex b/Doc/ref.tex
index 0edec66..875659e 100644
--- a/Doc/ref.tex
+++ b/Doc/ref.tex
@@ -674,7 +674,7 @@ the numbers $0, 1, \ldots, n-1$. Element \verb\i\ of sequence
\index{subscription}
Sequences also support slicing: \verb\a[i:j]\ selects all elements
-with index $k$ such that $i < k < j$. When used as an expression,
+with index $k$ such that $i <= k < j$. When used as an expression,
a slice is a sequence of the same type --- this implies that the
index set is renumbered so that it starts at 0 again.
\index{slicing}