Commit 6f5d92ce authored by Guido van Rossum's avatar Guido van Rossum

The uniqueValues() method should support optional arguments name and

withLengths to pass the new verifyClass tests.
parent 6fb3256d
...@@ -150,7 +150,7 @@ class ZCTextIndex(Persistent, Acquisition.Implicit, SimpleItem): ...@@ -150,7 +150,7 @@ class ZCTextIndex(Persistent, Acquisition.Implicit, SimpleItem):
get_word = self.lexicon.get_word get_word = self.lexicon.get_word
return [get_word(wid) for wid in word_ids] return [get_word(wid) for wid in word_ids]
def uniqueValues(self): def uniqueValues(self, name=None, withLengths=0):
raise NotImplementedError raise NotImplementedError
## The ZCatalog Index management screen uses these methods ## ## The ZCatalog Index management screen uses these methods ##
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment