#NEWLINE# def _query( self , query , params = ( ) ) : #NEWLINE# #INDENT# cur = self . _conn . cursor ( ) #NEWLINE# try : #NEWLINE# #INDENT# cur . execute ( query , params ) #NEWLINE# for row in cur . fetchall ( ) : #NEWLINE# #INDENT# ( yield self ) #NEWLINE# #UNINDENT# #UNINDENT# finally : #NEWLINE# #INDENT# cur . close ( )