Skip to content

Commit c1f26f6

Browse files
committed
#13494: s/cast/convert/. Also add a link.
1 parent b1b3fd2 commit c1f26f6

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
@@ -2736,9 +2736,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
27362736
used to represent truth values (although other values can also be considered
27372737
false or true). In numeric contexts (for example when used as the argument to
27382738
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).
2739+
The built-in function :func:`bool` can be used to convert any value to a
2740+
Boolean, if the value can be interpreted as a truth value (see section
2741+
:ref:`truth` above).
27422742

27432743
.. index::
27442744
single: False

0 commit comments

Comments
 (0)