def __eq__(self, other):
return self._start == other.start and self._end == other.end<EOL>
Rich comparison operator for Python 3 support.

Any object that defines a custom `__eq__()` operator without also
defining a custom `__hash__()` operator is unhashable. At least for
now, I don't see this being a problem.