]> granicus.if.org Git - python/commitdiff
Note that the values for Boolean options are case-insensitive.
authorFred Drake <fdrake@acm.org>
Tue, 9 Oct 2001 14:58:24 +0000 (14:58 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 9 Oct 2001 14:58:24 +0000 (14:58 +0000)
Doc/lib/libcfgparser.tex

index 591df2e942ea2d960dfd67782cef31a2a875d8bd..346ba8f82ba4ea2ac8a286fb90f78b758bc297d1 100644 (file)
@@ -166,8 +166,9 @@ A convenience method which coerces the \var{option} in the specified
 \var{section} to a Boolean value.  Note that the accepted values
 for the option are \code{1}, \code{yes}, \code{true}, and \code{on},
 which cause this method to return true, and \code{0}, \code{no},
-\code{false}, and \code{off}, which cause it to return false.  Any
-other value will cause it to raise \exception{ValueError}.
+\code{false}, and \code{off}, which cause it to return false.  These
+values are checked in a case-insensitive manner.  Any other value will
+cause it to raise \exception{ValueError}.
 \end{methoddesc}
 
 \begin{methoddesc}{set}{section, option, value}