[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.135,1.136

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
2003年6月11日 02:15:31 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv13071
Modified Files:
	libfuncs.tex 
Log Message:
* Added missing documentation for object().
* Noted the Py2.3 in the optional arg for bool().
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.135
retrieving revision 1.136
diff -C2 -d -r1.135 -r1.136
*** libfuncs.tex	11 Jun 2003 08:16:06 -0000	1.135
--- libfuncs.tex	11 Jun 2003 09:15:26 -0000	1.136
***************
*** 87,94 ****
 which is a subclass of \code{int}. Class \code{bool} cannot be
 subclassed further. Its only instances are \code{False} and
! \code{True}. If no argument is given, this function returns
! \code{False}.
 \indexii{Boolean}{type}
 \versionadded{2.2.1}
 \end{funcdesc}
 
--- 87,97 ----
 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}
+ 
+ If no argument is given, this function returns \code{False}.
+ \versionchanged{2.3}
 \end{funcdesc}
 
***************
*** 677,680 ****
--- 680,693 ----
 non-empty sequence (such as a string, tuple or list). With more
 than one argument, return the smallest of the arguments.
+ \end{funcdesc}
+ 
+ \begin{funcdesc}{object}{}
+ Return a new featureless object. \function{object} is a base 
+ for all new style classes. It has the methods that are common
+ to all instances of new style classes.
+ \versionadded{2.2}
+ 
+ This function does not accept any arguments. \versionchanged{2.3}
+ Formerly, it accepted arguments but ignored them.
 \end{funcdesc}
 

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