summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-21 09:41:21 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-21 09:41:21 (GMT)
commitb285974c00fbf51af727d9330fa90443177390f4 (patch)
tree049cfacc0cf8ab82406b886ca629e57f55de7d97 /Doc/ref
parent763824964669d1e8837d16dc91b10c26da32ea52 (diff)
downloadcpython-b285974c00fbf51af727d9330fa90443177390f4.zip
cpython-b285974c00fbf51af727d9330fa90443177390f4.tar.gz
cpython-b285974c00fbf51af727d9330fa90443177390f4.tar.bz2
Mention explicitly the False is considered false.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref5.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 24ed4ac..458ff0f 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -1021,9 +1021,9 @@ Boolean operations have the lowest priority of all Python operations:
In the context of Boolean operations, and also when expressions are
used by control flow statements, the following values are interpreted
-as false: \code{None}, numeric zero of all types, empty sequences
-(strings, tuples and lists), and empty mappings (dictionaries). All
-other values are interpreted as true.
+as false: \code{False}, \code{None}, numeric zero of all types, empty
+sequences (strings, tuples and lists), and empty mappings (dictionaries).
+All other values are interpreted as true.
The operator \keyword{not} yields \code{True} if its argument is false,
\code{False} otherwise.