[issue5493] Rephrasing the doc of object.__nonzero__

2009-03-15 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5493] Rephrasing the doc of object.__nonzero__

2009-03-15 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r70387. -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5493] Rephrasing the doc of object.__nonzero__

2009-03-15 Thread Ezio Melotti
New submission from Ezio Melotti : The doc [1] actually says: object.__nonzero__(self) Called to implement truth value testing, and the built-in operation bool(); should return False or True, or their integer equivalents 0 or 1. When this method is not defined, __len__() is called, if it is d