Update of /cvsroot/python/python/dist/src/Doc/lib In directory usw-pr-cvs1:/tmp/cvs-serv10343/lib Modified Files: 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.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** libstdtypes.tex 14 Jun 2002 09:16:40 -0000 1.98 --- libstdtypes.tex 12 Jul 2002 17:15:10 -0000 1.99 *************** *** 48,54 **** \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} --- 48,54 ---- \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}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4