Added 3 missing types: ComplexType, SliceType, EllipsisType.

This commit is contained in:
Guido van Rossum 1998-07-24 15:01:05 +00:00
parent 78a6ddbdd1
commit 1eb200d360

View file

@ -47,6 +47,10 @@ The type of long integers (e.g. \code{1L}).
The type of floating point numbers (e.g. \code{1.0}).
\end{datadesc}
\begin{datadesc}{ComplexType}
The type of complex numbers (e.g. \code{1.0j}).
\end{datadesc}
\begin{datadesc}{StringType}
The type of character strings (e.g. \code{'Spam'}).
\end{datadesc}
@ -118,6 +122,15 @@ The type of range objects returned by
\function{xrange()}\bifuncindex{xrange}.
\end{datadesc}
\begin{datadesc}{SliceType}
The type of objects returned by
\function{slice()}\bifuncindex{slice}.
\end{datadesc}
\begin{datadesc}{EllipsisType}
The type of \code{Ellipsis}.
\end{datadesc}
\begin{datadesc}{TracebackType}
The type of traceback objects such as found in
\code{sys.exc_traceback}.