Commits

Anonymous committed 004958b

analysis/fields: minor docstring fixes, add a XXX for a incomplete docstring

Comments (0)

Files changed (2)

src/whoosh/analysis.py

         """
         :param stoplist: A collection of words to remove from the stream.
             This is converted to a frozenset. The default is a list of
-            common stop words.
+            common English stop words.
         :param minsize: The minimum length of token texts. Tokens with
             text smaller than this will be stopped.
         :param maxsize: The maximum length of token texts. Tokens with text

src/whoosh/fields.py

     """Configured field that indexes text as N-grams. For example, with a field
     type NGRAM(3,4), the value "hello" will be indexed as tokens
     "hel", "hell", "ell", "ello", "llo". This field chops the entire 
+    XXX text missing at the end of the previous line XXX
     """
     
     __inittypes__ = dict(minsize=int, maxsize=int, stored=bool,
     """
     
     def __init__(self, **fields):
-        """ All keyword arguments to the constructor are treated as fieldname =
+        """All keyword arguments to the constructor are treated as fieldname =
         fieldtype pairs. The fieldtype can be an instantiated FieldType object,
         or a FieldType sub-class (in which case the Schema will instantiate it
         with the default constructor before adding it).