code: def _delete_whitespace(self):
          
          while isinstance(self._lines[-1], (self._Space, self._LineBreak,
                                             self._Indent)):
              del self._lines[-1]
docs: Delete all whitespace from the end of the line.