From 3e59f72075e2ae8ac3a00b98388cc85c2332e963 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 12 Jul 2002 17:15:10 +0000 Subject: Clarify the return value of __nonzero__(): It *must* be an integer. Closes SF bug #579991. --- Doc/lib/libstdtypes.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index ca073b6..1a07d3c 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -47,9 +47,9 @@ The following values are considered false: \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}.} + 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} -- cgit v0.12