def clear(self):
if self.prefix is not None:<EOL><INDENT>self._current_page = [self.prefix]<EOL>self._count = len(self.prefix) + <NUM_LIT:1> <EOL><DEDENT>else:<EOL><INDENT>self._current_page = []<EOL>self._count = <NUM_LIT:0><EOL><DEDENT>self._pages = []<EOL>
Clears the paginator to have no pages.