mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Minor correction and clarification.
This commit is contained in:
parent
a9bc168f95
commit
8ec17a0a8d
@ -59,7 +59,9 @@ core defines this operation. The result is affected by the
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{truth}{o}
|
||||
Return \code{1} if \var{o} is true, and 0 otherwise.
|
||||
Return \constant{True} if \var{o} is true, and \constant{False}
|
||||
otherwise. This is equivalent to the constructor of the \class{bool}
|
||||
constructor.
|
||||
\end{funcdesc}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user