[Python-checkins] python/dist/src/Doc/ref ref5.tex, 1.86.2.2, 1.86.2.3
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Sun Aug 21 11:41:58 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20679/Doc/ref
Modified Files:
Tag: release24-maint
ref5.tex
Log Message:
Mention explicitly that False is considered false.
Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.86.2.2
retrieving revision 1.86.2.3
diff -u -d -r1.86.2.2 -r1.86.2.3
--- ref5.tex 19 Jan 2005 03:42:09 -0000 1.86.2.2
+++ ref5.tex 21 Aug 2005 09:41:48 -0000 1.86.2.3
@@ -1021,9 +1021,9 @@
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.
More information about the Python-checkins
mailing list