[Zope-CVS] CVS: Products/ZCTextIndex - Index.py:1.1.2.5
Fred L. Drake, Jr.
fdrake@acm.org
Tue, 30 Apr 2002 23:29:41 -0400
Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv2353
Modified Files:
Tag: TextIndexDS9-branch
Index.py
Log Message:
Add interface declaration.
=== Products/ZCTextIndex/Index.py 1.1.2.4 => 1.1.2.5 ===
from BTrees.IIBTree import IIBTree, IIBucket, IISet
+from Products.ZCTextIndex.IIndex import IIndex
+
class Index:
+ __implements__ = IIndex
+
def __init__(self, lexicon, fieldname):
self._lexicon = lexicon
self._fieldname = fieldname