From 6959a2fcd75e20515b0d1d2c24b5d409b89e3421 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 9 Oct 2001 14:58:24 +0000 Subject: [PATCH] Note that the values for Boolean options are case-insensitive. --- Doc/lib/libcfgparser.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex index 591df2e942e..346ba8f82ba 100644 --- a/Doc/lib/libcfgparser.tex +++ b/Doc/lib/libcfgparser.tex @@ -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}