Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76e47f3

Browse files
committed
Change last Ellipses to Ellipsis :-(
1 parent f93f101 commit 76e47f3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/tut.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3942,10 +3942,10 @@ \section{Language Changes}
39423942
New slicing syntax. In support of the Numerical Python extension
39433943
(distributed independently), slice indices of the form
39443944
\code{x[lo:hi:stride]} are possible, multiple slice indices separated by
3945-
commas are allowed, and an index position may be replaced by ellipses,
3945+
commas are allowed, and an index position may be replaced by an ellipsis,
39463946
as follows: \code{x[a, ..., z]}. There's also a new built-in function
39473947
\code{slice(lo, hi, stride)} and a new built-in object
3948-
\code{Ellipses}, which yield the same effect without using special
3948+
\code{Ellipsis}, which yield the same effect without using special
39493949
syntax. None of the standard sequence types support indexing with
39503950
slice objects or ellipses yet.
39513951

@@ -3964,7 +3964,7 @@ \section{Language Changes}
39643964
x[::] -> slice(None, None, None)
39653965
x[1, 2:3] -> (1, slice(2, 3, None))
39663966
x[1:2, 3:4] -> (slice(1, 2, None), slice(3, 4, None))
3967-
x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipses,
3967+
x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipsis,
39683968
slice(3, 4, None))
39693969
\end{verbatim}
39703970

Doc/tut/tut.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3942,10 +3942,10 @@ \section{Language Changes}
39423942
New slicing syntax. In support of the Numerical Python extension
39433943
(distributed independently), slice indices of the form
39443944
\code{x[lo:hi:stride]} are possible, multiple slice indices separated by
3945-
commas are allowed, and an index position may be replaced by ellipses,
3945+
commas are allowed, and an index position may be replaced by an ellipsis,
39463946
as follows: \code{x[a, ..., z]}. There's also a new built-in function
39473947
\code{slice(lo, hi, stride)} and a new built-in object
3948-
\code{Ellipses}, which yield the same effect without using special
3948+
\code{Ellipsis}, which yield the same effect without using special
39493949
syntax. None of the standard sequence types support indexing with
39503950
slice objects or ellipses yet.
39513951

@@ -3964,7 +3964,7 @@ \section{Language Changes}
39643964
x[::] -> slice(None, None, None)
39653965
x[1, 2:3] -> (1, slice(2, 3, None))
39663966
x[1:2, 3:4] -> (slice(1, 2, None), slice(3, 4, None))
3967-
x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipses,
3967+
x[1:2, ..., 3:4] -> (slice(1, 2, None), Ellipsis,
39683968
slice(3, 4, None))
39693969
\end{verbatim}
39703970

0 commit comments

Comments
 (0)