[Python-checkins] python/dist/src/Doc/lib libfuncs.tex, 1.143.8.7, 1.143.8.8

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Fri Dec 5 13:55:49 EST 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv5390
Modified Files:
 Tag: release23-maint
	libfuncs.tex 
Log Message:
- fix markup in the bool() description
- note the behavior of bool() with no arg in the main body of the
 description
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.143.8.7
retrieving revision 1.143.8.8
diff -C2 -d -r1.143.8.7 -r1.143.8.8
*** libfuncs.tex	18 Nov 2003 19:48:41 -0000	1.143.8.7
--- libfuncs.tex	5 Dec 2003 18:55:46 -0000	1.143.8.8
***************
*** 92,106 ****
 \begin{funcdesc}{bool}{\optional{x}}
 Convert a value to a Boolean, using the standard truth testing
! procedure. If \code{x} is false, this returns \code{False};
! otherwise it returns \code{True}. \code{bool} is also a class,
! which is a subclass of \code{int}. Class \code{bool} cannot be
! subclassed further. Its only instances are \code{False} and
! \code{True}.
! 
! \indexii{Boolean}{type}
! \versionadded{2.2.1}
 
 \versionchanged[If no argument is given, this function returns 
! \code{False}]{2.3}
 \end{funcdesc}
 
--- 92,105 ----
 \begin{funcdesc}{bool}{\optional{x}}
 Convert a value to a Boolean, using the standard truth testing
! procedure. If \var{x} is false or omitted, this returns
! \constant{False}; otherwise it returns \constant{True}.
! \class{bool} is also a class, which is a subclass of \class{int}.
! Class \class{bool} cannot be subclassed further. Its only instances
! are \constant{False} and \constant{True}.
 
+ \indexii{Boolean}{type}
+ \versionadded{2.2.1}
 \versionchanged[If no argument is given, this function returns 
! \constant{False}]{2.3}
 \end{funcdesc}
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /