cpython (3.2): #13494: s/cast/convert/. Also add a link.

http://hg.python.org/cpython/rev/69369fd3514b changeset: 73813:69369fd3514b branch: 3.2 parent: 73810:9e7728dc35e7 user: Ezio Melotti <ezio.melotti@gmail.com> date: Fri Dec 02 19:47:24 2011 +0200 summary: #13494: s/cast/convert/. Also add a link. files: Doc/library/stdtypes.rst | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2736,9 +2736,9 @@ 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 -- Repository URL: http://hg.python.org/cpython
participants (1)
-
ezio.melotti