diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-09 14:58:24 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-09 14:58:24 (GMT) |
commit | 6959a2fcd75e20515b0d1d2c24b5d409b89e3421 (patch) | |
tree | 6c1047aaf8aba54462204bd56243a8d8373cfa42 /Doc | |
parent | 454d791c91a29e8a858efbe64e27782af931242d (diff) | |
download | cpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.zip cpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.tar.gz cpython-6959a2fcd75e20515b0d1d2c24b5d409b89e3421.tar.bz2 |
Note that the values for Boolean options are case-insensitive.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcfgparser.tex | 5 |
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} |