summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-09-06 07:06:08 (GMT)
committerGeorg Brandl <georg@python.org>2006-09-06 07:06:08 (GMT)
commit52318d6215f9f9626d38a9b81b52d411dbbdb36a (patch)
tree72563f6321f9265fb9d77702ee729e68048bdd07 /Doc/lib
parent7cae87ca7b0a3a7ce497cbd335c8ec82fe680476 (diff)
downloadcpython-52318d6215f9f9626d38a9b81b52d411dbbdb36a.zip
cpython-52318d6215f9f9626d38a9b81b52d411dbbdb36a.tar.gz
cpython-52318d6215f9f9626d38a9b81b52d411dbbdb36a.tar.bz2
Patch #1550786: ellipsis literal.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libconsts.tex4
-rw-r--r--Doc/lib/libstdtypes.tex4
2 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libconsts.tex b/Doc/lib/libconsts.tex
index a7b4498..1f56b05 100644
--- a/Doc/lib/libconsts.tex
+++ b/Doc/lib/libconsts.tex
@@ -26,6 +26,8 @@ A small number of constants live in the built-in namespace. They are:
\end{datadesc}
\begin{datadesc}{Ellipsis}
- Special value used in conjunction with extended slicing syntax.
+ The same as \code{...}.
+ Special value used mostly in conjunction with extended slicing syntax
+ for user-defined container data types.
% XXX Someone who understands extended slicing should fill in here.
\end{datadesc}
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index ef1b802..d5409e0 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -2004,12 +2004,12 @@ It is written as \code{None}.
\subsection{The Ellipsis Object \label{bltin-ellipsis-object}}
-This object is used by extended slice notation (see the
+This object is mostly used by extended slice notation (see the
\citetitle[../ref/ref.html]{Python Reference Manual}). It supports no
special operations. There is exactly one ellipsis object, named
\constant{Ellipsis} (a built-in name).
-It is written as \code{Ellipsis}.
+It is written as \code{Ellipsis} or \code{...}.
\subsection{Boolean Values}