mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Added 3 missing types: ComplexType, SliceType, EllipsisType.
This commit is contained in:
parent
78a6ddbdd1
commit
1eb200d360
1 changed files with 13 additions and 0 deletions
|
@ -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}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue