summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-12-02 17:47:24 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-12-02 17:47:24 (GMT)
commitc1f26f6fc1aef965e27e2937765eda0decda03c6 (patch)
treef1d4a92d3a3a0a483e8779cb4f3dfb434e769e32
parentb1b3fd23b79c3c50f25c4a6948795c0c1299ee32 (diff)
downloadcpython-c1f26f6fc1aef965e27e2937765eda0decda03c6.zip
cpython-c1f26f6fc1aef965e27e2937765eda0decda03c6.tar.gz
cpython-c1f26f6fc1aef965e27e2937765eda0decda03c6.tar.bz2
#13494: s/cast/convert/. Also add a link.
-rw-r--r--Doc/library/stdtypes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 5b54b09..ae0793b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2736,9 +2736,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