diff options
author | Guido van Rossum <guido@python.org> | 1996-11-02 17:05:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-11-02 17:05:21 (GMT) |
commit | 76e47f3d7578f4a438c7627569553ffa9d9b568b (patch) | |
tree | e89a574e39353af683373fda446bcca224a92faa /Doc | |
parent | f93f101450a4eaa4d807345fa833e0ba1c053e1e (diff) | |
download | cpython-76e47f3d7578f4a438c7627569553ffa9d9b568b.zip cpython-76e47f3d7578f4a438c7627569553ffa9d9b568b.tar.gz cpython-76e47f3d7578f4a438c7627569553ffa9d9b568b.tar.bz2 |
Change last Ellipses to Ellipsis :-(
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tut.tex | 6 | ||||
-rw-r--r-- | Doc/tut/tut.tex | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/tut.tex b/Doc/tut.tex index 459e9c6..2e0ab9a 100644 --- a/Doc/tut.tex +++ b/Doc/tut.tex @@ -3942,10 +3942,10 @@ e.g. \code{x[1, 2, 3]} is equivalent to \code{x[(1, 2, 3)]}. New slicing syntax. In support of the Numerical Python extension (distributed independently), slice indices of the form \code{x[lo:hi:stride]} are possible, multiple slice indices separated by -commas are allowed, and an index position may be replaced by ellipses, +commas are allowed, and an index position may be replaced by an ellipsis, as follows: \code{x[a, ..., z]}. There's also a new built-in function \code{slice(lo, hi, stride)} and a new built-in object -\code{Ellipses}, which yield the same effect without using special +\code{Ellipsis}, which yield the same effect without using special syntax. None of the standard sequence types support indexing with slice objects or ellipses yet. @@ -3964,7 +3964,7 @@ x[::-1] -> slice(None, None, -1) x[::] -> slice(None, None, None) x[1, 2:3] -> (1, slice(2, 3, None)) x[1:2, 3:4] -> (slice(1, 2, None), slice(3, 4, None)) -x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipses, +x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipsis, slice(3, 4, None)) \end{verbatim} diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 459e9c6..2e0ab9a 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3942,10 +3942,10 @@ e.g. \code{x[1, 2, 3]} is equivalent to \code{x[(1, 2, 3)]}. New slicing syntax. In support of the Numerical Python extension (distributed independently), slice indices of the form \code{x[lo:hi:stride]} are possible, multiple slice indices separated by -commas are allowed, and an index position may be replaced by ellipses, +commas are allowed, and an index position may be replaced by an ellipsis, as follows: \code{x[a, ..., z]}. There's also a new built-in function \code{slice(lo, hi, stride)} and a new built-in object -\code{Ellipses}, which yield the same effect without using special +\code{Ellipsis}, which yield the same effect without using special syntax. None of the standard sequence types support indexing with slice objects or ellipses yet. @@ -3964,7 +3964,7 @@ x[::-1] -> slice(None, None, -1) x[::] -> slice(None, None, None) x[1, 2:3] -> (1, slice(2, 3, None)) x[1:2, 3:4] -> (slice(1, 2, None), slice(3, 4, None)) -x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipses, +x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipsis, slice(3, 4, None)) \end{verbatim} |