[Python-bugs-list] [ python-Bugs-579991 ] LibRef 2.2.1, replace zero with False
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 13 Jul 2002 16:02:14 -0700
Bugs item #579991, was opened at 2002-07-11 10:52
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=579991&group_id=5470
Category: Documentation
Group: Python 2.3
>Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Yitz Gale (yitzg)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: LibRef 2.2.1, replace zero with False
Initial Comment:
In Library Refernce, 2.2.1 Truth Value Testing:
In current text "...when that method returns zero." and
the associated footnote, the word "zero" should be
replaced with "a false value".
----------------------------------------------------------------------
>Comment By: Yitz Gale (yitzg)
Date: 2002-07-14 02:02
Message:
Logged In: YES
user_id=576391
Hmm - in that case, there is also a bug in Ref. Guide 3.3.1
which says
that __nonzero__() is allowed to return boolean. But that would
be really quirky, are you sure boolean is not allowed?
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-07-12 20:16
Message:
Logged In: YES
user_id=3066
Clarified in Doc/lib/libstdtypes.tex revisions 1.99 and
1.80.6.10.
__nonzero__() *must* return an integer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=579991&group_id=5470