def _cmp_raises_type_error(self, other):
__tracebackhide__ = True<EOL>raise TypeError(<EOL>"<STR_LIT>"<EOL>)<EOL>
__cmp__ implementation which raises TypeError. Used
    by Approx base classes to implement only == and != and raise a
    TypeError for other comparisons.

    Needed in Python 2 only, Python 3 all it takes is not implementing the
    other operators at all.