[Python-checkins] cpython (merge 3.2 -> default): #13494: merge with 3.2.

ezio.melotti python-checkins at python.org
Fri Dec 2 18:49:14 CET 2011


http://hg.python.org/cpython/rev/454b97887c5a
changeset:   73814:454b97887c5a
parent:      73811:060c7093a81f
parent:      73813:69369fd3514b
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Fri Dec 02 19:49:02 2011 +0200
summary:
  #13494: merge with 3.2.

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
@@ -2772,9 +2772,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


More information about the Python-checkins mailing list