'Fetch the next row'

def fetchone(self):

    self._check_executed()
    if ((self._rows is None) or (self.rownumber >= len(self._rows))):
        return None
    result = self._rows[self.rownumber]
    self.rownumber += 1
    return result
