Commit 2cc10b11 authored by Tim Peters's avatar Tim Peters

get_words: repair docstring.

parent 3d5768f7
......@@ -86,7 +86,7 @@ class BaseIndex(Persistent):
return len(self._wordinfo)
def get_words(self, docid):
"""Returns the wordids for a given docid"""
"""Return a list of the wordids for a given docid."""
return WidCode.decode(self._docwords[docid])
# A subclass may wish to extend or override this.
......
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