python3 uses __bool__ instead if __nonzero__
Merge pull request #6 from patricklx/patch-1

python3 uses __bool__ instead if __nonzero__ (though Cython could use either)