#NEWLINE# def search( self , pattern , count = None ) : #NEWLINE# #INDENT# '\n        Search the values of the given set using the specified pattern.\n\n        :param str pattern: Pattern used to match keys.\n        :param int count: Limit number of results returned.\n        :returns: An iterator yielding matching values.\n        ' #NEWLINE# return self . _scan ( match = pattern , count = count )