We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b3fd2 commit c1f26f6Copy full SHA for c1f26f6
1 file changed
Doc/library/stdtypes.rst
@@ -2736,9 +2736,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
2736
used to represent truth values (although other values can also be considered
2737
false or true). In numeric contexts (for example when used as the argument to
2738
an arithmetic operator), they behave like the integers 0 and 1, respectively.
2739
-The built-in function :func:`bool` can be used to cast any value to a Boolean,
2740
-if the value can be interpreted as a truth value (see section Truth Value
2741
-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).
2742
2743
.. index::
2744
single: False
0 commit comments