<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def queryMore(self, queryLocator):
    '''
    Retrieves the next batch of objects from a query.
    '''
    self._setHeaders('queryMore')
    return self._sforce.service.queryMore(queryLocator)