def fetchmany(self, size=None):
self._check_executed()<EOL>end = self.rownumber + (size or self.arraysize)<EOL>result = self._rows[self.rownumber:end]<EOL>self.rownumber = min(end, len(self._rows))<EOL>return result<EOL>
Fetch up to size rows from the cursor. Result set may be smaller
        than size. If size is not defined, cursor.arraysize is used.