code: def addAttachment(self, title, attachment):
          
          self._attachments[title] = attachment
          self.resizeToContents()
docs: Adds an attachment to this comment.
          
          :param      title      | <str>
                      attachment | <variant>