Commits on Source (2)
-
Dave Shawley authored
Python 3 dropped __nonzero__ in preference to __bool__. The code was only working because they fall back to __len__ if __bool__ is not implemented. This commit adds a __bool__ implementation that simply calls __nonzero__.
-
Gavin M. Roy authored
Implement Results.__bool__ method.