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

Skip to content

Commit c585075

Browse files
committed
Added a version annotation for StringTypes.
Added documentation for BooleanType.
1 parent 4319315 commit c585075

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/lib/libtypes.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ \section{\module{types} ---
3535
\function{type()}\bifuncindex{type}).
3636
\end{datadesc}
3737

38+
\begin{datadesc}{BooleanType}
39+
The type of the \class{bool} values \code{True} and \code{False}; this
40+
is an alias of the built-in \function{bool()} function.
41+
\versionadded{2.3}
42+
\end{datadesc}
43+
3844
\begin{datadesc}{IntType}
3945
The type of integers (e.g. \code{1}).
4046
\end{datadesc}
@@ -165,4 +171,5 @@ \section{\module{types} ---
165171
elsewhere since it only contains \code{UnicodeType} if it has been
166172
built in the running version of Python. For example:
167173
\code{isinstance(s, types.StringTypes)}.
174+
\versionadded{2.2}
168175
\end{datadesc}

0 commit comments

Comments
 (0)