summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcfgparser.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-09 14:58:24 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-09 14:58:24 (GMT)
commit6959a2fcd75e20515b0d1d2c24b5d409b89e3421 (patch)
tree6c1047aaf8aba54462204bd56243a8d8373cfa42 /Doc/lib/libcfgparser.tex
parent454d791c91a29e8a858efbe64e27782af931242d (diff)
downloadcpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.zip
cpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.tar.gz
cpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.tar.bz2
Note that the values for Boolean options are case-insensitive.
Diffstat (limited to 'Doc/lib/libcfgparser.tex')
-rw-r--r--Doc/lib/libcfgparser.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex
index 591df2e..346ba8f 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}