code: def pages(self):
          
          # protected access has to be permitted here to not close the paginator's pages
  
          # pylint: disable=protected-access
          paginator_pages = list(self.paginator._pages)
          if len(self.paginator._current_page) > 1:
              paginator_pages.append('\n'.join(self.paginator._current_page) + '\n' + (self.paginator.suffix or ''))
          # pylint: enable=protected-access
  
          return paginator_pages
docs: Returns the paginator's pages without prematurely closing the active page.