[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex,1.80.6.9,1.80.6.10

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Fri, 12 Jul 2002 10:15:47 -0700


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

Modified Files:
      Tag: release22-maint
	libstdtypes.tex 
Log Message:
Clarify the return value of __nonzero__(): It *must* be an integer.
Closes SF bug #579991.


Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.80.6.9
retrieving revision 1.80.6.10
diff -C2 -d -r1.80.6.9 -r1.80.6.10
*** libstdtypes.tex	15 May 2002 15:50:32 -0000	1.80.6.9
--- libstdtypes.tex	12 Jul 2002 17:15:45 -0000	1.80.6.10
***************
*** 40,46 ****
  \item	instances of user-defined classes, if the class defines a
  	\method{__nonzero__()} or \method{__len__()} method, when that
! 	method returns zero.\footnote{Additional information on these
! special methods may be found in the \citetitle[../ref/ref.html]{Python
! Reference Manual}.}
  
  \end{itemize}
--- 40,46 ----
  \item	instances of user-defined classes, if the class defines a
  	\method{__nonzero__()} or \method{__len__()} method, when that
! 	method returns the integer zero.\footnote{Additional
! information on these special methods may be found in the
! \citetitle[../ref/ref.html]{Python Reference Manual}.}
  
  \end{itemize}