'This is used to designate the last part of a multipart message.
It should always be used when writing multipart messages.'

def lastpart(self):

    self._fp.write((('\n--' + self._boundary) + '--\n'))
