summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-15 21:43:38 +0000
committerGeorg Brandl <georg@python.org>2009-03-15 21:43:38 +0000
commited4cefbedd1817247b94e5880f850bc1c3f6628d (patch)
tree315fb597d9ee701d0a828cde0490af4d4ba7ab7a /Python
parent3259ef3dff534dd0c106905ffa6e14d8fe7181e1 (diff)
downloadcpython-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')
0 files changed, 0 insertions, 0 deletions