'Attach an alternative content representation.'

def attach_alternative(self, content, mimetype):

    assert (content is not None)
    assert (mimetype is not None)
    self.alternatives.append((content, mimetype))
