diff options
author | Raymond Hettinger <python@rcn.com> | 2003-08-14 19:58:35 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-08-14 19:58:35 (GMT) |
commit | fb857893a2a9885bb872f8729d1a4dfc00762134 (patch) | |
tree | f45a3e68ec18fa08bc273142abd3ef6d53c8b9e7 /Doc/lib/libcfgparser.tex | |
parent | b4f49385a30d51c2c1a5ecc67c703b595c236efc (diff) | |
download | cpython-fb857893a2a9885bb872f8729d1a4dfc00762134.zip cpython-fb857893a2a9885bb872f8729d1a4dfc00762134.tar.gz cpython-fb857893a2a9885bb872f8729d1a4dfc00762134.tar.bz2 |
SF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)
Diffstat (limited to 'Doc/lib/libcfgparser.tex')
-rw-r--r-- | Doc/lib/libcfgparser.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex index 1f33df4..ad4bbb3 100644 --- a/Doc/lib/libcfgparser.tex +++ b/Doc/lib/libcfgparser.tex @@ -217,10 +217,10 @@ A convenience method which coerces the \var{option} in the specified \begin{methoddesc}{getboolean}{section, option} 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. These -values are checked in a case-insensitive manner. Any other value will +for the option are \code{"1"}, \code{"yes"}, \code{"true"}, and \code{"on"}, +which cause this method to return \code{True}, and \code{"0"}, \code{"no"}, +\code{"false"}, and \code{"off"}, which cause it to return \code{False}. These +string values are checked in a case-insensitive manner. Any other value will cause it to raise \exception{ValueError}. \end{methoddesc} |