code: def close_page(self):
          
          if self.suffix is not None:
              self._current_page.append(self.suffix)
          self._pages.append('\n'.join(self._current_page))
  
          if self.prefix is not None:
              self._current_page = [self.prefix]
              self._count = len(self.prefix) + 1 # prefix + newline
          else:
              self._current_page = []
              self._count = 0
docs: Prematurely terminate a page.