Fix a small nit in the error message if bool() falls back on __len__ and it…
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.
Showing
Please
register
or
sign in
to comment