commit | ed4cefbedd1817247b94e5880f850bc1c3f6628d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Mar 15 21:43:38 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Mar 15 21:43:38 2009 +0000 |
tree | 315fb597d9ee701d0a828cde0490af4d4ba7ab7a | |
parent | 3259ef3dff534dd0c106905ffa6e14d8fe7181e1 [diff] |
Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.