def find(self, txt):
        """
        returns a list of records containing text
        """
        result = []
        for d in self.data:
            if txt in d:
                result.append(d)
        return result
def find ( self , txt ) : result = [ ] for d in self . data : if txt in d : result . append ( d ) return result
returns a list of records containing text