mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fredrik tells me the truefalse parameter for boolean() is not part of the
public interface, so we can simplify the documentation.
This commit is contained in:
parent
1350c07de3
commit
d90f509b8f
1 changed files with 3 additions and 5 deletions
|
|
@ -219,11 +219,9 @@ triggered the error.
|
||||||
|
|
||||||
\subsection{Convenience Functions}
|
\subsection{Convenience Functions}
|
||||||
|
|
||||||
\begin{funcdesc}{boolean}{value\optional{, truefalse}}
|
\begin{funcdesc}{boolean}{value}
|
||||||
Convert any Python value to one of the XML-RPC Boolean constants.
|
Convert any Python value to one of the XML-RPC Boolean constants,
|
||||||
The optional second argument supplies a conversion table to be indexed
|
\code{True} or \code{False}.
|
||||||
by the first argument's Python truth value. If omitted, the
|
|
||||||
\code{True} and \code{False} values defined in this module are used.
|
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{binary}{data}
|
\begin{funcdesc}{binary}{data}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue