From 003eb0328723554e994d39f9bf01bf75277c6d90 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 12 Jul 2002 17:15:45 +0000 Subject: [PATCH] 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 436fd7b47206..911999e748d6 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -39,9 +39,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} -- 2.47.3