Skip to content

Commit c42512d

Browse files
committed
#13494: merge with 3.2.
2 parents a9a2ddf + c1f26f6 commit c42512d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2772,9 +2772,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
27722772
used to represent truth values (although other values can also be considered
27732773
false or true). In numeric contexts (for example when used as the argument to
27742774
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).
2775+
The built-in function :func:`bool` can be used to convert any value to a
2776+
Boolean, if the value can be interpreted as a truth value (see section
2777+
:ref:`truth` above).
27782778

27792779
.. index::
27802780
single: False

0 commit comments

Comments
 (0)