]> granicus.if.org Git - python/commitdiff
Mention explicitly the False is considered false.
authorGeorg Brandl <georg@python.org>
Sun, 21 Aug 2005 09:41:21 +0000 (09:41 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Aug 2005 09:41:21 +0000 (09:41 +0000)
Doc/ref/ref5.tex

index 24ed4ac14b8ae0351a45b021a332140ab51aefdc..458ff0fcf2ba13b75e35ac1cb0fccbb83b9aa007 100644 (file)
@@ -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.