The source project of this merge request has been removed.
Renamed __nonzero__ to __bool__ for python3
For python3 the __nonzero__
method was removed and replaced by __bool__
, this patch just implements that for the python implementation of infinity
and segment
.