code: def removeAttachment(self, title):
          
          attachment = self._attachments.pop(nativestring(title), None)
          
          if attachment:
              self.resizeToContents()
          
          return attachment
docs: Removes the attachment from the given title.
          
          :param      title | <str>
          
          :return     <variant> | attachment