def search_all(self, limit=<NUM_LIT:50>, format='<STR_LIT>'):
desired_limit = limit<EOL>results = self._search(limit, format)<EOL>limit = limit - len(results)<EOL>while len(results) < desired_limit:<EOL><INDENT>more_results = self._search(limit, format)<EOL>if not more_results:<EOL><INDENT>break<EOL><DEDENT>results += more_results<EOL>limit = limit - len(more_results)<EOL>time.sleep(<NUM_LIT:1>)<EOL><DEDENT>return results<EOL>
Returns a single list containing up to 'limit' Result objects