#NEWLINE# def fetchmany( self , size = None ) : #NEWLINE# #INDENT# ' Fetch several rows ' #NEWLINE# self . _check_executed ( ) #NEWLINE# if ( self . _rows is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# end = ( self . rownumber + ( size or self . arraysize ) ) #NEWLINE# result = [ dict ( zip ( self . _fields , r ) ) for r in self . _rows [ self . rownumber : end ] ] #NEWLINE# self . rownumber = min ( end , len ( self . _rows ) ) #NEWLINE# return tuple ( result )