diff options
author | Georg Brandl <georg@python.org> | 2009-03-15 21:43:38 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-15 21:43:38 +0000 |
commit | ed4cefbedd1817247b94e5880f850bc1c3f6628d (patch) | |
tree | 315fb597d9ee701d0a828cde0490af4d4ba7ab7a /Python/pythonrun.c | |
parent | 3259ef3dff534dd0c106905ffa6e14d8fe7181e1 (diff) | |
download | cpython-git-ed4cefbedd1817247b94e5880f850bc1c3f6628d.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions