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.
2 parents a9a2ddf + c1f26f6 commit c42512dCopy full SHA for c42512d
1 file changed
Doc/library/stdtypes.rst
@@ -2772,9 +2772,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
2772
used to represent truth values (although other values can also be considered
2773
false or true). In numeric contexts (for example when used as the argument to
2774
an arithmetic operator), they behave like the integers 0 and 1, respectively.
2775
-The built-in function :func:`bool` can be used to cast any value to a Boolean,
2776
-if the value can be interpreted as a truth value (see section Truth Value
2777
-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).
2778
2779
.. index::
2780
single: False
0 commit comments