#13494: s/cast/convert/. Also add a link.

This commit is contained in:
Ezio Melotti 2011-12-02 19:47:24 +02:00
parent c2ed44f4f2
commit 2692be9d20
1 changed files with 3 additions and 3 deletions

View File

@ -2955,9 +2955,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
used to represent truth values (although other values can also be considered
false or true). In numeric contexts (for example when used as the argument to
an arithmetic operator), they behave like the integers 0 and 1, respectively.
The built-in function :func:`bool` can be used to cast any value to a Boolean,
if the value can be interpreted as a truth value (see section Truth Value
Testing above).
The built-in function :func:`bool` can be used to convert any value to a
Boolean, if the value can be interpreted as a truth value (see section
:ref:`truth` above).
.. index::
single: False