diff options
author | Fred Drake <fdrake@acm.org> | 2002-05-22 02:44:24 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-05-22 02:44:24 (GMT) |
commit | c58507582b266e53bdfd5e16100b3f89d71fb511 (patch) | |
tree | 235a7253e6df2de10b103dcf781445b37db53e7d /Doc/lib/libtypes.tex | |
parent | 43193150ee54d59c368c931f7f6c52a418f445e7 (diff) | |
download | cpython-c58507582b266e53bdfd5e16100b3f89d71fb511.zip cpython-c58507582b266e53bdfd5e16100b3f89d71fb511.tar.gz cpython-c58507582b266e53bdfd5e16100b3f89d71fb511.tar.bz2 |
Added a version annotation for StringTypes.
Added documentation for BooleanType.
Diffstat (limited to 'Doc/lib/libtypes.tex')
-rw-r--r-- | Doc/lib/libtypes.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index ac337da..adbec3b 100644 --- a/Doc/lib/libtypes.tex +++ b/Doc/lib/libtypes.tex @@ -35,6 +35,12 @@ The type of type objects (such as returned by \function{type()}\bifuncindex{type}). \end{datadesc} +\begin{datadesc}{BooleanType} +The type of the \class{bool} values \code{True} and \code{False}; this +is an alias of the built-in \function{bool()} function. +\versionadded{2.3} +\end{datadesc} + \begin{datadesc}{IntType} The type of integers (e.g. \code{1}). \end{datadesc} @@ -165,4 +171,5 @@ portable than using a sequence of the two string types constructed elsewhere since it only contains \code{UnicodeType} if it has been built in the running version of Python. For example: \code{isinstance(s, types.StringTypes)}. +\versionadded{2.2} \end{datadesc} |