def clear(self, results=True, errors=True):
        '''
        Clears results and errors lists.
        '''
        if results:
            self.results = []
        if errors:
            self.errors = []
def clear ( self , results = True , errors = True ) : if results : self . results = [ ] if errors : self . errors = [ ]
Clears results and errors lists.