[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG - BaseStopWords.py:1.1.2.6
Andreas Jung
andreas@digicool.com
Tue, 22 Jan 2002 12:40:16 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG
In directory cvs.zope.org:/tmp/cvs-serv12680
Modified Files:
Tag: ajung-textindexng-branch
BaseStopWords.py
Log Message:
bug fixes
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/BaseStopWords.py 1.1.2.5 => 1.1.2.6 ===
def keys(self): return self._words.keys()
def values(self): return self._words.values()
- def items(self): return self._words.items()
+ def items(self):
+ """ blabla"""
+ return self._words.items()
def has_key(self,k): return self._words.has_key(k)
def get(self,k): return self._words.get(k)
- def __del__(self,k): del self._word[k]
- def __len__(self): return len(self._words)
+ def __len__(self): return len(self._words)
+ def __delitem__(self,k): del self._words[k]
+ def __setitem__(self,k,v): self._words[k] = v
def readStopWords(self, fname):