[Zope3-checkins] CVS: Zope3/src/zodb/btrees - interfaces.py:1.10
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 11:24:50 -0400
Update of /cvs-repository/Zope3/src/zodb/btrees
In directory cvs.zope.org:/tmp/cvs-serv25930/src/zodb/btrees
Modified Files:
interfaces.py
Log Message:
Changed old style __implements__ declarations to new-style implements()
ones.
=== Zope3/src/zodb/btrees/interfaces.py 1.9 => 1.10 ===
--- Zope3/src/zodb/btrees/interfaces.py:1.9 Tue Mar 4 16:06:39 2003
+++ Zope3/src/zodb/btrees/interfaces.py Fri Jun 6 11:24:19 2003
@@ -391,7 +391,8 @@
# XXX You can't import OOBTree in this module, because it would create
# a circular reference.
-# OOBTree.OOSet.__implements__ = ISet
-# OOBTree.OOTreeSet.__implements__ = ITreeSet
-# OOBTree.OOBucket.__implements__ = IDictionaryIsh
-# OOBTree.OOBTree.__implements__ = IBTree
+# from zope.interface import classImplements
+# classImplements(OOBTree.OOSet, ISet)
+# classImplements(OOBTree.OOTreeSet, ITreeSet)
+# classImplements(OOBTree.OOBucket, IDictionaryIsh)
+# classImplements(OOBTree.OOBTree, IBTree)