From: Georg Brandl Date: Sun, 21 Aug 2005 09:41:48 +0000 (+0000) Subject: Mention explicitly that False is considered false. X-Git-Tag: v2.4.2c1~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c86f88af8321fea0ab581b36e03e6acd4d1bc41;p=thirdparty%2FPython%2Fcpython.git Mention explicitly that False is considered false. --- diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 24ed4ac14b8a..458ff0fcf2ba 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.