def _dump(self, stream): """ Concrete subclasses must override this to implement the dump method. """ raise not_implemented_error(self, type(self)._dump)
def _combine(self, other): """ Concrete subclasses must override this to implement the combine method. """ raise not_implemented_error(self, type(self)._combine)