Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb85789

Browse files
committed
SF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)
1 parent b4f4938 commit fb85789

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/lib/libcfgparser.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ \subsection{RawConfigParser Objects \label{RawConfigParser-objects}}
217217
\begin{methoddesc}{getboolean}{section, option}
218218
A convenience method which coerces the \var{option} in the specified
219219
\var{section} to a Boolean value. Note that the accepted values
220-
for the option are \code{1}, \code{yes}, \code{true}, and \code{on},
221-
which cause this method to return true, and \code{0}, \code{no},
222-
\code{false}, and \code{off}, which cause it to return false. These
223-
values are checked in a case-insensitive manner. Any other value will
220+
for the option are \code{"1"}, \code{"yes"}, \code{"true"}, and \code{"on"},
221+
which cause this method to return \code{True}, and \code{"0"}, \code{"no"},
222+
\code{"false"}, and \code{"off"}, which cause it to return \code{False}. These
223+
string values are checked in a case-insensitive manner. Any other value will
224224
cause it to raise \exception{ValueError}.
225225
\end{methoddesc}
226226

0 commit comments

Comments
 (0)