55def then(self, next, simplify=True):
56 """Concatenate two transforms
58 The result of A.then(B) is is C(x) = B(A(x))
60 if self.toEndpoint == next.fromEndpoint:
61 return self._then(next, simplify=simplify)
64 "Cannot concatenate %r and %r: endpoints do not match."