Created by: cbtpkzm
def superimpose(self, other):
if isinstance(other, type(self)):
raise TypeError("Cannot add segments of different types: %s "
"and %s." % (type(self), type(other)))
Should be "if not isinstance(other, type(self)):" ?