[Python-checkins] python/dist/src/Doc/lib libcfgparser.tex, 1.29, 1.29.16.1

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Thu Aug 14 14:01:43 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30220

Modified Files:
      Tag: release23-maint
	libcfgparser.tex 
Log Message:
SF patch #787929:  reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)



Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.29
retrieving revision 1.29.16.1
diff -C2 -d -r1.29 -r1.29.16.1
*** libcfgparser.tex	31 Dec 2002 17:23:26 -0000	1.29
--- libcfgparser.tex	14 Aug 2003 20:01:40 -0000	1.29.16.1
***************
*** 218,225 ****
  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
  cause it to raise \exception{ValueError}.
  \end{methoddesc}
--- 218,225 ----
  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 \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}





More information about the Python-checkins mailing list