[issue6428] TypeError: __bool__ should return bool or int, returned int

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jul 7 00:50:10 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Probably a misguided merge. Here is a patch that updates the error 
message, and the documentation.

----------
keywords: +needs review, patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file14460/bool.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6428>
_______________________________________


More information about the Python-bugs-list mailing list